From edb4549afb5cd31efac27a4a813b3714d0c85ad3 Mon Sep 17 00:00:00 2001 From: ludamad Date: Fri, 3 May 2024 12:43:51 -0400 Subject: [PATCH 1/2] chore: bump bb.js timeouts --- barretenberg/ts/src/barretenberg/common.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/barretenberg/ts/src/barretenberg/common.test.ts b/barretenberg/ts/src/barretenberg/common.test.ts index 705bcedd8d3..96f74556668 100644 --- a/barretenberg/ts/src/barretenberg/common.test.ts +++ b/barretenberg/ts/src/barretenberg/common.test.ts @@ -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 () => { From 515945787296a1cddbdca3868fad102035f99016 Mon Sep 17 00:00:00 2001 From: ludamad Date: Fri, 3 May 2024 12:47:21 -0400 Subject: [PATCH 2/2] Update simple.test.ts --- barretenberg/ts/src/examples/simple.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/barretenberg/ts/src/examples/simple.test.ts b/barretenberg/ts/src/examples/simple.test.ts index 4af243a631d..29405ebc84d 100644 --- a/barretenberg/ts/src/examples/simple.test.ts +++ b/barretenberg/ts/src/examples/simple.test.ts @@ -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();