Skip to content

Commit

Permalink
Increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
gianbelinche committed Sep 2, 2024
1 parent 593c7ea commit 0e0c257
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/tests/ts-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "MIT",
"private": true,
"scripts": {
"test": "zk f jest --forceExit --testTimeout 60000",
"test": "zk f jest --forceExit --testTimeout 600000",
"long-running-test": "zk f jest",
"fee-test": "RUN_FEE_TEST=1 zk f jest -- fees.test.ts",
"api-test": "zk f jest -- api/web3.test.ts api/debug.test.ts",
Expand Down
2 changes: 1 addition & 1 deletion core/tests/ts-integration/tests/api/web3.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ describe('web3 API compatibility tests', () => {
* @param iterationStep The number of times this function has been called.
*/
async function tryWait(iterationStep: number) {
const maxWaitTimeMs = 100_000; // 100 seconds
const maxWaitTimeMs = 1_000_000; // 1000 seconds
const maxRetries = maxWaitTimeMs / alice.provider.pollingInterval;
await zksync.utils.sleep(alice.provider.pollingInterval);
if (iterationStep >= maxRetries) {
Expand Down

0 comments on commit 0e0c257

Please sign in to comment.