mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 05:50:31 +08:00
cli: Fix test speed regression
These two tests were holding everything up.
This commit is contained in:
@@ -38,7 +38,7 @@ $ rad sync --fetch
|
||||
Specifying both `--fetch` and `--announce` is equivalent to specifying none:
|
||||
|
||||
``` (fail)
|
||||
$ rad sync --fetch --announce
|
||||
$ rad sync --fetch --announce --timeout 1
|
||||
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6Mkux1…nVhib7Z..
|
||||
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6Mkt67…v4N1tRk..
|
||||
✓ Fetched repository from 2 seed(s)
|
||||
|
||||
@@ -571,7 +571,8 @@ fn rad_clone_connect() {
|
||||
|
||||
let eve = eve.spawn();
|
||||
|
||||
bob.handle.track_repo(acme, Scope::All).unwrap();
|
||||
alice.handle.track_repo(acme, Scope::Trusted).unwrap();
|
||||
bob.handle.track_repo(acme, Scope::Trusted).unwrap();
|
||||
alice.connect(&bob);
|
||||
bob.routes_to(&[(acme, alice.id)]);
|
||||
eve.routes_to(&[(acme, alice.id), (acme, bob.id)]);
|
||||
|
||||
Reference in New Issue
Block a user