cli: Fix test speed regression

These two tests were holding everything up.
This commit is contained in:
cloudhead
2023-08-21 11:57:32 +02:00
parent 2536efcb55
commit f282e09dce
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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)
+2 -1
View File
@@ -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)]);