mirror of
https://github.com/logos-messaging/waku-tests.git
synced 2026-01-02 14:23:07 +00:00
Add delay after relay connect
This commit is contained in:
parent
5a972024e3
commit
926830942e
3
index.js
3
index.js
@ -63,6 +63,7 @@ export default function runAll(nodes) {
|
||||
});
|
||||
|
||||
await Promise.all(promises);
|
||||
await delay(5000);
|
||||
// All connected and relay ready
|
||||
|
||||
const contentTopic = `/waku-tests/1/relay-test-${id}/utf8`;
|
||||
@ -139,6 +140,7 @@ export default function runAll(nodes) {
|
||||
});
|
||||
|
||||
await Promise.all(promises);
|
||||
await delay(5000);
|
||||
// All connected and relay ready
|
||||
|
||||
const contentTopic = `/waku-tests/1/light-push-${id}/utf8`;
|
||||
@ -212,6 +214,7 @@ export default function runAll(nodes) {
|
||||
});
|
||||
|
||||
await Promise.all(promises);
|
||||
await delay(5000);
|
||||
// All connected and relay ready
|
||||
|
||||
const hostnames = nodes.map((a) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user