mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-10-05 07:08:26 -04:00
clean up error, make python tests more reliable
This commit is contained in:
parent
bdee12bbf5
commit
48ab34f577
2 changed files with 10 additions and 1 deletions
|
@ -132,6 +132,13 @@ impl RoutingTable {
|
|||
async move {
|
||||
let success = match rss.test_route(r).await {
|
||||
Ok(v) => v,
|
||||
// Route was already removed
|
||||
Err(VeilidAPIError::InvalidArgument {
|
||||
context: _,
|
||||
argument: _,
|
||||
value: _,
|
||||
}) => false,
|
||||
// Other failures
|
||||
Err(e) => {
|
||||
log_rtab!(error "Test route failed: {}", e);
|
||||
ctx.lock().failed = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue