From 10f19f72c6f4d921724b1ff3aed75359d9d69800 Mon Sep 17 00:00:00 2001 From: benesjan Date: Mon, 23 Dec 2024 19:35:48 +0000 Subject: [PATCH] increasing timeouts --- .../end-to-end/src/composed/e2e_sandbox_example.test.ts | 2 ++ yarn-project/end-to-end/src/guides/dapp_testing.test.ts | 2 ++ yarn-project/end-to-end/src/guides/up_quick_start.test.ts | 2 ++ yarn-project/end-to-end/src/shared/browser.ts | 2 ++ 4 files changed, 8 insertions(+) diff --git a/yarn-project/end-to-end/src/composed/e2e_sandbox_example.test.ts b/yarn-project/end-to-end/src/composed/e2e_sandbox_example.test.ts index 4b7b34e47a61..c5cafa2a95ae 100644 --- a/yarn-project/end-to-end/src/composed/e2e_sandbox_example.test.ts +++ b/yarn-project/end-to-end/src/composed/e2e_sandbox_example.test.ts @@ -64,6 +64,8 @@ import { deployToken, mintTokensToPrivate } from '../fixtures/token_utils.js'; const { PXE_URL = 'http://localhost:8080' } = process.env; describe('e2e_sandbox_example', () => { + jest.setTimeout(60_000); + it('sandbox example works', async () => { // docs:start:setup ////////////// CREATE THE CLIENT INTERFACE AND CONTACT THE SANDBOX ////////////// diff --git a/yarn-project/end-to-end/src/guides/dapp_testing.test.ts b/yarn-project/end-to-end/src/guides/dapp_testing.test.ts index 6364517d2231..6a754a21d33c 100644 --- a/yarn-project/end-to-end/src/guides/dapp_testing.test.ts +++ b/yarn-project/end-to-end/src/guides/dapp_testing.test.ts @@ -13,6 +13,8 @@ import { mintTokensToPrivate } from '../fixtures/token_utils.js'; const { PXE_URL = 'http://localhost:8080', ETHEREUM_HOST = 'http://localhost:8545' } = process.env; describe('guides/dapp/testing', () => { + jest.setTimeout(60_000); + describe('on local sandbox', () => { beforeAll(async () => { // docs:start:create_pxe_client diff --git a/yarn-project/end-to-end/src/guides/up_quick_start.test.ts b/yarn-project/end-to-end/src/guides/up_quick_start.test.ts index 1fc6920a1f91..59867d477cd5 100644 --- a/yarn-project/end-to-end/src/guides/up_quick_start.test.ts +++ b/yarn-project/end-to-end/src/guides/up_quick_start.test.ts @@ -6,6 +6,8 @@ const { AZTEC_NODE_URL = '' } = process.env; // Entrypoint for running the up-quick-start script on the CI describe('guides/up_quick_start', () => { + jest.setTimeout(60_000); + // TODO: update to not use CLI it('works', async () => { await waitForNode(createAztecNodeClient(AZTEC_NODE_URL)); diff --git a/yarn-project/end-to-end/src/shared/browser.ts b/yarn-project/end-to-end/src/shared/browser.ts index b1b2f3fd8634..86f3e65d423f 100644 --- a/yarn-project/end-to-end/src/shared/browser.ts +++ b/yarn-project/end-to-end/src/shared/browser.ts @@ -55,6 +55,8 @@ export const browserTestSuite = ( pageLogger: AztecJs.Logger, ) => describe('e2e_aztec.js_browser', () => { + jest.setTimeout(60_000); + const initialBalance = 33n; const transferAmount = 3n;