Commit fe5b914
committed
tests: scale memory_ipc outer timeout with child_timeout_sec
Replace the fixed 300 s pytest.mark.timeout with 3 * child_timeout_sec().
This is the minimum that lets the worst-case test in the suite (currently
TestIpcReexport, with three sequential CHILD_TIMEOUT_SEC waits in the
failure path) reach its own asserts before the outer guard fires.
Resulting budgets:
- Without compute-sanitizer: 90 s (down from 300 s).
- Under compute-sanitizer: 360 s (up from 300 s -- the previous value
would have killed TestIpcReexport mid-second-join before its
"process C did not signal completion within timeout" assertion could
produce a clean failure message).
The meta-test test_outer_timeout_marker_is_applied now computes the
expected timeout from the same formula so the two stay in sync.1 parent 63e17a9 commit fe5b914
2 files changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
19 | 29 | | |
20 | 30 | | |
21 | 31 | | |
22 | | - | |
| 32 | + | |
23 | 33 | | |
24 | 34 | | |
25 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
0 commit comments