Updated test replica configs so tests make sense
This commit is contained in:
parent
d0386cadc6
commit
5162693e1b
@ -25,6 +25,12 @@ proc test_psync {descr duration backlog_size backlog_ttl delay cond mdl sdl reco
|
|||||||
$master config set repl-diskless-sync-delay 1
|
$master config set repl-diskless-sync-delay 1
|
||||||
$replica config set repl-diskless-load $sdl
|
$replica config set repl-diskless-load $sdl
|
||||||
|
|
||||||
|
$replica config set repl-backlog-size $backlog_size
|
||||||
|
$replica config set repl-backlog-ttl $backlog_ttl
|
||||||
|
$replica config set repl-diskless-sync $mdl
|
||||||
|
$replica config set repl-diskless-sync-delay 1
|
||||||
|
$master config set repl-diskless-load $sdl
|
||||||
|
|
||||||
test {Replica should be able to synchronize with the master} {
|
test {Replica should be able to synchronize with the master} {
|
||||||
$replica replicaof $master_host $master_port
|
$replica replicaof $master_host $master_port
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user