Skip to content

Commit

Permalink
Bump e2e tests timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed May 3, 2024
1 parent 0a6c04b commit 671a36e
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('e2e_blacklist_token_contract mint', () => {
await t.setup();
// Have to destructure again to ensure we have latest refs.
({ asset, tokenSim, wallets, blacklisted } = t);
}, 200_000);
}, 300_000);

afterAll(async () => {
await t.teardown();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ describe('e2e_deploy_contract private initialization', () => {
const expected = siloNullifier(contract.address, new Fr(10));
expect(receipt.debugInfo?.nullifiers[1]).toEqual(expected);
},
30_000,
);

// Tests privately initializing an undeployed contract. Also requires pxe registration in advance.
Expand All @@ -51,7 +50,6 @@ describe('e2e_deploy_contract private initialization', () => {
await contract.methods.create_note(owner, 10).send().wait();
expect(await contract.methods.summed_values(owner).simulate()).toEqual(52n);
},
30_000,
);

// Tests privately initializing multiple undeployed contracts on the same tx through an account contract.
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/end-to-end/src/e2e_lending_contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe('e2e_lending_contract', () => {
new TokenSimulator(collateralAsset, logger, [lendingContract.address, wallet.getAddress()]),
new TokenSimulator(stableCoin, logger, [lendingContract.address, wallet.getAddress()]),
);
}, 200_000);
}, 300_000);

afterAll(() => teardown());

Expand Down
2 changes: 1 addition & 1 deletion yarn-project/end-to-end/src/e2e_ordering.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('e2e_ordering', () => {

beforeEach(async () => {
({ teardown, pxe, wallet } = await setup());
}, 200_000);
}, 300_000);

afterEach(() => teardown());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('e2e_public_cross_chain_messaging deposits', () => {
ownerAddress = crossChainTestHarness.ownerAddress;
l2Bridge = crossChainTestHarness.l2Bridge;
l2Token = crossChainTestHarness.l2Token;
}, 200_000);
}, 300_000);

afterEach(async () => {
await t.teardown();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('e2e_public_cross_chain_messaging failures', () => {
({ crossChainTestHarness, user1Wallet, user2Wallet } = t);
ethAccount = crossChainTestHarness.ethAccount;
l2Bridge = crossChainTestHarness.l2Bridge;
}, 200_000);
}, 300_000);

afterAll(async () => {
await t.teardown();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('e2e_public_cross_chain_messaging l1_to_l2', () => {

aztecNode = crossChainTestHarness.aztecNode;
inbox = crossChainTestHarness.inbox;
}, 200_000);
}, 300_000);

afterAll(async () => {
await t.teardown();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('e2e_public_cross_chain_messaging l2_to_l1', () => {
aztecNode = crossChainTestHarness.aztecNode;

outbox = crossChainTestHarness.outbox;
}, 200_000);
}, 300_000);

afterAll(async () => {
await t.teardown();
Expand Down

0 comments on commit 671a36e

Please sign in to comment.