summaryrefslogtreecommitdiff
path: root/tests/integration/replication.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/replication.tcl')
-rw-r--r--tests/integration/replication.tcl7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/integration/replication.tcl b/tests/integration/replication.tcl
index 3169245b1..e0529dcc3 100644
--- a/tests/integration/replication.tcl
+++ b/tests/integration/replication.tcl
@@ -527,8 +527,11 @@ test {diskless loading short read} {
$master multi
$master client kill type replica
$master set asdf asdf
- # the side effect of resizing the backlog is that it is flushed (16k is the min size)
- $master config set repl-backlog-size [expr {16384 + $i}]
+ # fill replication backlog with new content
+ $master config set repl-backlog-size 16384
+ for {set keyid 0} {$keyid < 10} {incr keyid} {
+ $master set "$keyid string_$keyid" [string repeat A 16384]
+ }
$master exec
}
# wait for loading to stop (fail)