Commit 5c931ef
Queue::fake the last waitFor-racing parent/child summary test
Same bucket A pattern as the rest of the V2WorkflowTest waitFor cluster:
testWorkflowSummaryProjectsChildWaitAndHealthyRepairNoOp relied on the
testbench queue worker to drain the parent's start workflow task and the
child's start workflow task before the test could assert on the parent's
summary.wait_kind == 'child'. Under CI load this lost the race.
Converting to Queue::fake + drainReadyTasks lets the test deterministically
drive both runs through their first workflow task. drainReadyTasks already
respects available_at (d042ea9) so the child's 60s timer task is left
parked, leaving the parent in waiting_for_child as the test expects.
Clears the last non-skip MySQL CI failure under #399.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 50028c9 commit 5c931ef
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2917 | 2917 | | |
2918 | 2918 | | |
2919 | 2919 | | |
| 2920 | + | |
| 2921 | + | |
2920 | 2922 | | |
2921 | 2923 | | |
2922 | 2924 | | |
2923 | 2925 | | |
2924 | 2926 | | |
2925 | 2927 | | |
| 2928 | + | |
2926 | 2929 | | |
2927 | 2930 | | |
2928 | 2931 | | |
| |||
0 commit comments