Skip to content

Commit 15b24f4

Browse files
committed
fix: increase balance wait time
1 parent 6e6b6de commit 15b24f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎test/ping-pong/user-local/src/index.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async function localTest() {
7272
}
7373

7474
// Wait for sometime at the end to retrieve balance to include any transactions sent by the other use
75-
await new Promise(resolving => setTimeout(resolving, 200000));
75+
await new Promise(resolving => setTimeout(resolving, 20 * TX_WAIT)); // TODO get balance waiting working well
7676
const endBalance = await retrieveL2Balance(nf3);
7777

7878
if (endBalance - startBalance === 2 * value + value * TEST_LENGTH) {

0 commit comments

Comments
 (0)