Test: replication-3 test speedup in master-slave setup.

This commit is contained in:
antirez 2013-06-25 15:13:14 +02:00
parent fb67468813
commit 7e5be50cbf

View File

@ -2,9 +2,12 @@ start_server {tags {"repl"}} {
start_server {} {
test {First server should have role slave after SLAVEOF} {
r -1 slaveof [srv 0 host] [srv 0 port]
after 1000
s -1 role
} {slave}
wait_for_condition 50 100 {
[s -1 master_link_status] eq {up}
} else {
fail "Replication not started."
}
}
if {$::accurate} {set numops 50000} else {set numops 5000}