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 {
3131 use anyhow:: Result ;
3232 use bytes:: Bytes ;
3333 use common:: init_veilid;
34+ use common:: make_route;
3435 use rpc:: RpcClient ;
3536 use rpc:: RpcService ;
3637 use std:: path:: Path ;
@@ -291,14 +292,9 @@ mod tests {
291292 ) ;
292293
293294 // 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" ) ;
302298
303299 // Store the route_id_blob in DHT
304300 repo. store_route_id_in_dht ( route_id_blob. clone ( ) )
You can’t perform that action at this time.
0 commit comments