Skip to content

Commit

Permalink
add timeout after deploy script finishes
Browse files Browse the repository at this point in the history
  • Loading branch information
storywithoutend committed Oct 15, 2024
1 parent 83e27c8 commit 13179f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ens-test-env/src/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@ export const main = async (_config, _options, justKill) => {

await awaitCommand('deploy', config.deployCommand)

// wait for anvil deploy to finish
await new Promise((resolve) => setTimeout(resolve, 5000))

// remove block timestamp interval after deploy
await rpcFetch('anvil_removeBlockTimestampInterval', [])

Expand Down Expand Up @@ -336,7 +339,6 @@ export const main = async (_config, _options, justKill) => {
'http-get://localhost:8000/subgraphs/name/graphprotocol/ens',
],
})
await new Promise((resolve) => setTimeout(resolve, 5000))
}
}

Expand Down

0 comments on commit 13179f2

Please sign in to comment.