Commit 62e2f60
committed
fix(test): add worker initialization delay for sanitizer stability
Add brief sleep after pool start in AutoscalerTest::SetUp to ensure
all workers are fully initialized before assertions. Under sanitizer
overhead, worker threads may not have entered their run loop yet,
causing get_active_worker_count to return fewer workers than enqueued.1 parent 5750983 commit 62e2f60
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
193 | 196 | | |
194 | 197 | | |
195 | 198 | | |
| |||
0 commit comments