Commit 11891cb
committed
Poll to terminal instead of fixed sleeps in the last two flaky spots
Task-level diagnostics from a red run showed these are two different
problems, not the one I assumed:
scenario_decorated_workers: task SCHEDULED, pollCount=0, workerId=None
after sleep(15), while both decorated workers were demonstrably active
and polling every 100ms. The server simply had not handed the task out
inside that window. This is the same false negative the batch-completion
budget in this file was already raised to fix, so use that budget here
and poll to terminal.
test_v2_fallback_intg: 4 of a workflow's 5 tasks COMPLETED with the last
IN_PROGRESS on a live worker (pollCount=1, workerId set) when the 60s
budget expired -- it was progressing, not stuck. Raised to 120s. A task
still IN_PROGRESS after that is a real lost update rather than slowness,
and the diagnostic prints it.1 parent 759dd28 commit 11891cb
2 files changed
Lines changed: 21 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
147 | 152 | | |
148 | 153 | | |
149 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
161 | 173 | | |
162 | 174 | | |
163 | 175 | | |
| |||
0 commit comments