mirror of
https://github.com/waku-org/js-waku.git
synced 2025-01-12 21:44:33 +00:00
ci: wait 100ms after go-waku seems ready as it is sometimes not
This commit is contained in:
parent
2cb46b9924
commit
def951e4ac
@ -18,6 +18,7 @@ import { WakuMessage } from "../lib/waku_message";
|
||||
import * as proto from "../proto/message";
|
||||
|
||||
import { existsAsync, mkdirAsync, openAsync } from "./async_fs";
|
||||
import { delay } from "./delay";
|
||||
import waitForLine from "./log_file";
|
||||
|
||||
const dbg = debug("waku:nwaku");
|
||||
@ -181,6 +182,7 @@ export class Nwaku {
|
||||
|
||||
dbg(`Waiting to see '${NODE_READY_LOG_LINE}' in nwaku logs`);
|
||||
await this.waitForLog(NODE_READY_LOG_LINE, 15000);
|
||||
if (process.env.CI) await delay(100);
|
||||
dbg("nwaku node has been started");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user