Commit 620ea6f
committed
nextest: Fix heavyweight test serialization filter
The previous filter used ~^libvirt_run and ~^to_disk, but nextest's ~
operator does substring matching and treats ^ as a literal character,
so these patterns never matched anything. The threads-required = 4
override was silently never applied.
Switch to /regex/ syntax which supports proper anchoring, and broaden
coverage to include all tests that spawn QEMU VMs:
- test(/to_?disk/) catches both to_disk and todisk (varlink) variants
- test(/^test_libvirt_run/) and the other libvirt VM-creating tests
- test(/^test_base_disk_creation/) (527s in CI)
- test(=test_varlink_ephemeral_run_ps_and_ssh)
Without this, two concurrent to-disk tests on a 16 GB CI runner can
trigger the OOM killer (observed as exit code 137 / SIGKILL on
test_varlink_todisk_creates_disk).
Also change threads-required from 4 to 2 to match test-threads, which
is semantically equivalent but clearer.
Assisted-by: OpenCode (Claude Opus 4)1 parent b7a69cc commit 620ea6f
1 file changed
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
39 | 44 | | |
40 | | - | |
41 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
42 | 53 | | |
43 | 54 | | |
44 | 55 | | |
| |||
0 commit comments