Commit 0b01ff8
authored
test: keep fixture setup outside watch deadlines (#1287)
Windows CI could intermittently fail the push-watch lifecycle test before the local PostgreSQL watch owner began. The one-second coordination deadline also covered local SQLite creation and migrations, so runner load could be misclassified as a watch failure.
Prepare the local owner fixtures before launching the timed goroutines. This keeps the deadline strict for the coordination behavior under test while excluding unrelated fixture setup; production watch behavior is unchanged.
Co-authored-by: Wes McKinney <wesm@users.noreply.github.com>1 parent e9703c2 commit 0b01ff8
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
336 | 340 | | |
337 | 341 | | |
338 | 342 | | |
| |||
355 | 359 | | |
356 | 360 | | |
357 | 361 | | |
358 | | - | |
359 | | - | |
360 | | - | |
| 362 | + | |
| 363 | + | |
361 | 364 | | |
362 | 365 | | |
363 | 366 | | |
| |||
366 | 369 | | |
367 | 370 | | |
368 | 371 | | |
369 | | - | |
370 | | - | |
371 | | - | |
| 372 | + | |
| 373 | + | |
372 | 374 | | |
373 | 375 | | |
374 | 376 | | |
| |||
0 commit comments