cli: Fix test speed regression
These two tests were holding everything up.
This commit is contained in:
parent
2536efcb55
commit
f282e09dce
|
|
@ -38,7 +38,7 @@ $ rad sync --fetch
|
||||||
Specifying both `--fetch` and `--announce` is equivalent to specifying none:
|
Specifying both `--fetch` and `--announce` is equivalent to specifying none:
|
||||||
|
|
||||||
``` (fail)
|
``` (fail)
|
||||||
$ rad sync --fetch --announce
|
$ rad sync --fetch --announce --timeout 1
|
||||||
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6Mkux1…nVhib7Z..
|
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6Mkux1…nVhib7Z..
|
||||||
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6Mkt67…v4N1tRk..
|
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6Mkt67…v4N1tRk..
|
||||||
✓ Fetched repository from 2 seed(s)
|
✓ Fetched repository from 2 seed(s)
|
||||||
|
|
|
||||||
|
|
@ -571,7 +571,8 @@ fn rad_clone_connect() {
|
||||||
|
|
||||||
let eve = eve.spawn();
|
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);
|
alice.connect(&bob);
|
||||||
bob.routes_to(&[(acme, alice.id)]);
|
bob.routes_to(&[(acme, alice.id)]);
|
||||||
eve.routes_to(&[(acme, alice.id), (acme, bob.id)]);
|
eve.routes_to(&[(acme, alice.id), (acme, bob.id)]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue