Commit 35b68b4
committed
test: fix busy replication slot test
The test's intention was to spawn a reader of the replication and ensure
that Materialize can successfully reclaim it by killing the appropriate
server process.
However, the WAL reader that we spawned also advanced the slot forward
without Materialize having seen and committed that section. To avoid
this we pass an extremely long fsync-interval parameter that will result
in the slot being busy but not advanced.
Fixes MaterializeInc/database-issues#8447
Signed-off-by: Petros Angelatos <[email protected]>1 parent 77ac79a commit 35b68b4
2 files changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
60 | 66 | | |
61 | 67 | | |
62 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
53 | 59 | | |
54 | 60 | | |
55 | 61 | | |
| |||
0 commit comments