Skip to content

Commit

Permalink
wait extra 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
pahor167 committed Jun 14, 2023
1 parent cb0b456 commit 5b2cec9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/protocol/lib/test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export async function waitForPortOpen(host: string, port: number, seconds: numbe
const deadline = Date.now() + seconds * 1000
do {
if (await isPortOpen(host, port)) {
await delay(5000) // extra 5s just to give ganache extra time to startup
await delay(10000) // extra 10s just to give ganache extra time to startup
console.info(`Port ${host}:${port} opened`)
return true
}
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/scripts/devchain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ export async function waitForPortOpen(host: string, port: number, seconds: numbe
const deadline = Date.now() + seconds * 1000
do {
if (await isPortOpen(host, port)) {
await delay(5000) // extra 5s just to give ganache extra time to startup
await delay(10000) // extra 10s just to give ganache extra time to startup
console.info(`Port ${host}:${port} opened`)
return true
}
Expand Down

0 comments on commit 5b2cec9

Please sign in to comment.