wait for next sync before inspecting memberlist
before we needed a 10s delay here to make the test work reliable, this should be faster in the best case.
This commit is contained in:
parent
16b2f09915
commit
36708cc5db
3 changed files with 31 additions and 6 deletions
|
@ -102,7 +102,8 @@ async function joinCharliesWhileAliceIsOffline(alice, charly6to10) {
|
|||
await member6.talk("where is charly?");
|
||||
}
|
||||
member6.log.unmute().done();
|
||||
await delay(1000);
|
||||
const catchupPromise = alice.waitForNextSuccessfulSync();
|
||||
await alice.setOffline(false);
|
||||
await delay(1000);
|
||||
await catchupPromise;
|
||||
await delay(2000);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue