Commit d6797d34 authored by antirez's avatar antirez
Browse files

Diskless replication tested with the multiple slaves consistency test.

parent ebb3bd53
......@@ -94,8 +94,10 @@ start_server {tags {"repl"}} {
}
}
start_server {tags {"repl"}} {
foreach dl {no yes} {
start_server {tags {"repl"}} {
set master [srv 0 client]
$master config set repl-diskless-sync $dl
set master_host [srv 0 host]
set master_port [srv 0 port]
set slaves {}
......@@ -110,7 +112,7 @@ start_server {tags {"repl"}} {
lappend slaves [srv 0 client]
start_server {} {
lappend slaves [srv 0 client]
test "Connect multiple slaves at the same time (issue #141)" {
test "Connect multiple slaves at the same time (issue #141), diskless=$dl" {
# Send SALVEOF commands to slaves
[lindex $slaves 0] slaveof $master_host $master_port
[lindex $slaves 1] slaveof $master_host $master_port
......@@ -169,4 +171,5 @@ start_server {tags {"repl"}} {
}
}
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment