Skip to content

Commit c7af54b

Browse files
committed
fix(test): close tester in custom_bc truncation describe afterEach
The third describe block created a PublicTxSimulationTester (owns AvmSimulatorPool + CdbIpcServer) per test but only closed worldStateService in afterEach, leaking the AVM pool and CDB server each iteration. Jest could not exit after the suite completed and was killed at the 600s CI timeout.
1 parent cf69cc8 commit c7af54b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

yarn-project/simulator/src/public/public_tx_simulator/apps_tests/custom_bc.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ describe('Public TX simulator apps tests: custom bytecodes truncation', () => {
113113
});
114114

115115
afterEach(async () => {
116+
await tester.close();
116117
await worldStateService.close();
117118
});
118119

0 commit comments

Comments
 (0)