Repository navigation
Commit 22ecb47
authored
test(location): rebuild past the changed-build order skew before replanning (#1577)
The served-location replan test failed intermittently in CI: after a
rebuild and its sync, the location reported daily_orders, order_count
and orders as changed instead of nothing.
`--changed` compares a relation with each of its executions within 5 s
of its newest, so a rebuild that starts within 5 s of the previous
build still reports that build's edit and its consumers' inputs as
unknown. Locally the rebuild started 5.6 s after the first build; a
faster runner started it inside the window. With the window widened to
10 s the test failed every time with exactly the CI report.
The test now starts the rebuild at least the order skew after the first
build returned. The publication tests share one ORDER_SKEW_SECONDS
instead of each defining it.1 parent 0ac57cb commit 22ecb47
3 files changed
Lines changed: 8 additions & 1 deletion
File tree
- tests/integration/src/sqlbuild/compiler/compiled_project/publication
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1567 | 1567 | | |
1568 | 1568 | | |
1569 | 1569 | | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
1570 | 1573 | | |
1571 | 1574 | | |
1572 | 1575 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
386 | 388 | | |
387 | 389 | | |
388 | 390 | | |
| 391 | + | |
389 | 392 | | |
390 | 393 | | |
391 | 394 | | |
| |||
433 | 436 | | |
434 | 437 | | |
435 | 438 | | |
| 439 | + | |
436 | 440 | | |
437 | 441 | | |
438 | 442 | | |
| |||
0 commit comments