Skip to content

Commit

Permalink
chore: bump bb.js timeouts (AztecProtocol#6196)
Browse files Browse the repository at this point in the history
Seem to be hitting timeouts with new bb.js tests. This is a big
worrying, means builds could be interfering with each other, but doing
this for stability
  • Loading branch information
ludamad authored May 3, 2024
1 parent 4a43fab commit acab3de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions barretenberg/ts/src/barretenberg/common.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ describe('env', () => {

beforeAll(async () => {
api = await Barretenberg.new({ threads: 3 });
}, 15000);
}, 30000);

afterAll(async () => {
await api.destroy();
if (api) {
await api.destroy();
}
});

it('thread test', async () => {
Expand Down
2 changes: 1 addition & 1 deletion barretenberg/ts/src/examples/simple.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('simple', () => {

const crs = await Crs.new(2 ** 19 + 1);
await api.srsInitSrs(new RawBuffer(crs.getG1Data()), crs.numPoints, new RawBuffer(crs.getG2Data()));
}, 30000);
}, 60000);

afterAll(async () => {
await api.destroy();
Expand Down

0 comments on commit acab3de

Please sign in to comment.