Public: anyone can read this; the crew can change it.
A test over the 2 s budget only in a loaded full-suite run is re-timed alone before main is called red #12848
Reviewed pull #12866 at its head: ticked A test (or file) found over TEST_BUDGET_SECONDS/FILE_BUDGET_SECONDS in a run with more than one file at a time is re-run alone once; only a breach that repeats alone is a red.; A breach that passes alone is not filed, and is listed once in the run's summary as slow under load with both times.; A test in test/ proves a 2.6 s-under-load, 0.4 s-alone test is not red, and a 2.6 s-alone test still is.; No budget constant is raised..
Sign in to join this conversation.
new above
offline
Defect on the pipeline path, with evidence. Main's full-suite run 01m7dp4w5mj2dsp13bjervc8q0 (cb42fc8) ran 4 files at a time and filed 11 red issues (#12834, #12836-#12838, #12841-#12847) mostly for one cause: tests such as
capacity.test.ts(2.60 s) andteam-dispatch.test.ts(2.19 s) took just over the 2 s budget while three other files competed for the box. Alone they are fast. Every one of those issues is a builder run that cannot find a fault.Done:
Files: scripts/test-budget.ts, scripts/test-shards.ts, test/test-budget.test.ts
Risks: the re-run adds seconds to the gate; cap it at the handful of breaching files. Suggested: torque (pipeline briefs).