File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ mod tests {
31
31
use anyhow:: Result ;
32
32
use bytes:: Bytes ;
33
33
use common:: init_veilid;
34
+ use common:: make_route;
34
35
use rpc:: RpcClient ;
35
36
use rpc:: RpcService ;
36
37
use std:: path:: Path ;
@@ -291,14 +292,9 @@ mod tests {
291
292
) ;
292
293
293
294
// Create a new private route
294
- 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" ) ;
295
+ let ( route_id, route_id_blob) = make_route ( & veilid_api)
296
+ . await
297
+ . expect ( "Failed to create route after retries" ) ;
302
298
303
299
// Store the route_id_blob in DHT
304
300
repo. store_route_id_in_dht ( route_id_blob. clone ( ) )
You can’t perform that action at this time.
0 commit comments