We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
make_route
1 parent edff3f8 commit 9c00108Copy full SHA for 9c00108
src/lib.rs
@@ -31,6 +31,7 @@ mod tests {
31
use anyhow::Result;
32
use bytes::Bytes;
33
use common::init_veilid;
34
+ use common::make_route;
35
use rpc::RpcClient;
36
use rpc::RpcService;
37
use std::path::Path;
@@ -291,14 +292,9 @@ mod tests {
291
292
);
293
294
// Create a new private route
- let (route_id, route_id_blob) = veilid_api
295
- .new_custom_private_route(
296
- &VALID_CRYPTO_KINDS,
297
- veilid_core::Stability::LowLatency,
298
- veilid_core::Sequencing::NoPreference,
299
- )
300
- .await
301
- .expect("Failed to create route");
+ let (route_id, route_id_blob) = make_route(&veilid_api)
+ .await
+ .expect("Failed to create route after retries");
302
303
// Store the route_id_blob in DHT
304
repo.store_route_id_in_dht(route_id_blob.clone())
0 commit comments