- Notifications
You must be signed in to change notification settings - Fork928
Commit3c43216
authored
fix: remove Parallel() call after timeout context (#10203)
Fixes test flake seen here:https://github.com/coder/coder/runs/17562370632It's inherently flaky to create a context with a timeout and then later call `t.Parallel()` since it causes the test to wait until all non-parallel tests have completed before resuming execution. By the time execution has resumed, the context may have expired. The amount of time before resuming is dependent on machine resources and number of test cases, which are inherently variable.1 parent4452a14 commit3c43216
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
281 | 281 |
| |
282 | 282 |
| |
283 | 283 |
| |
| 284 | + | |
284 | 285 |
| |
285 |
| - | |
286 |
| - | |
287 | 286 |
| |
288 | 287 |
| |
289 | 288 |
| |
|
0 commit comments
Comments
(0)