mirror of
https://github.com/garrytan/gbrain.git
synced 2026-07-31 04:07:52 +00:00
test(e2e): 60s hook timeout for jsonb-parity setup/teardown
The #2339 parity guard's beforeAll runs setupDB (full migration chain) under bun's default 5s hook timeout, which flaked on a slow CI runner (setupDB hit 5001ms). Other e2e suites already pass explicit hook timeouts; bring this file in line. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
4e0487ba32
commit
fcbe037bbc
@@ -25,12 +25,14 @@ import { recordCompleted, loadOpCheckpoint } from '../../src/core/op-checkpoint.
|
||||
const describeE2E = hasDatabase() ? describe : describe.skip;
|
||||
|
||||
describeE2E('E2E: op_checkpoints completed_keys jsonb parity (#2339)', () => {
|
||||
// 60s: setupDB runs the full migration chain; bun's default 5s hook timeout
|
||||
// flakes on slow CI runners (observed on the #3335 jsonb-parity job).
|
||||
beforeAll(async () => {
|
||||
await setupDB();
|
||||
});
|
||||
}, 60_000);
|
||||
afterAll(async () => {
|
||||
await teardownDB();
|
||||
});
|
||||
}, 60_000);
|
||||
|
||||
const key = { op: 'sync-target', fingerprint: 'jsonb-parity-2339' };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user