mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-12 22:13:05 +00:00
test(int): retry once — gate flaka sob contenção paralela de DB em high-core (C113/C115)
This commit is contained in:
parent
5742180268
commit
149cc3943a
1 changed files with 8 additions and 0 deletions
|
|
@ -40,5 +40,13 @@ export default defineConfig({
|
||||||
// beats per-test overrides. Genuinely hung tests still fail — just 10s
|
// beats per-test overrides. Genuinely hung tests still fail — just 10s
|
||||||
// later. The unit suite keeps the 5s default.
|
// later. The unit suite keeps the 5s default.
|
||||||
testTimeout: 15_000,
|
testTimeout: 15_000,
|
||||||
|
// High-core local machines run up to 8 parallel forks against one
|
||||||
|
// Postgres (gate:ci, OPS98). Cross-file DB contention makes a few
|
||||||
|
// wall-clock-sensitive specs flake intermittently (C113/C115 calendar
|
||||||
|
// family) even at low system load — each run picks different victims.
|
||||||
|
// One retry gives the contended transaction a second chance without
|
||||||
|
// hiding real failures (CI on 2–4 vCPU rarely needs it; the unit suite
|
||||||
|
// stays at 0 retries).
|
||||||
|
retry: 1,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue