Increase timeout for cross-version-replication test (#1644)
Fixes #1641 Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
This commit is contained in:
parent
d3aabd7f13
commit
12ec3d5932
@ -18,7 +18,7 @@ start_server {tags {"repl needs:other-server external:skip"} start-other-server
|
|||||||
start_server {} {
|
start_server {} {
|
||||||
test "Start replication from $primary_name_and_version" {
|
test "Start replication from $primary_name_and_version" {
|
||||||
r replicaof [srv -1 host] [srv -1 port]
|
r replicaof [srv -1 host] [srv -1 port]
|
||||||
wait_for_sync r
|
wait_for_sync r 500 100
|
||||||
# The key has been transferred.
|
# The key has been transferred.
|
||||||
assert_equal bar [r get foo]
|
assert_equal bar [r get foo]
|
||||||
assert_equal up [s master_link_status]
|
assert_equal up [s master_link_status]
|
||||||
|
@ -110,8 +110,8 @@ proc waitForBgrewriteaof r {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
proc wait_for_sync r {
|
proc wait_for_sync {r {maxtries 50} {delay 100}} {
|
||||||
wait_for_condition 50 100 {
|
wait_for_condition $maxtries $delay {
|
||||||
[status $r master_link_status] eq "up"
|
[status $r master_link_status] eq "up"
|
||||||
} else {
|
} else {
|
||||||
fail "replica didn't sync in time"
|
fail "replica didn't sync in time"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user