X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/2bcd18a2e95ba1278e8ab4671a6987416800e36f..80e808b6d6ca40580899bda0397d7c0d9b19b1a8:/tests/support/util.tcl diff --git a/tests/support/util.tcl b/tests/support/util.tcl index 0131c411..96af279d 100644 --- a/tests/support/util.tcl +++ b/tests/support/util.tcl @@ -55,7 +55,7 @@ proc status {r property} { proc waitForBgsave r { while 1 { - if {[status r bgsave_in_progress] eq 1} { + if {[status r rdb_bgsave_in_progress] eq 1} { if {$::verbose} { puts -nonewline "\nWaiting for background save to finish... " flush stdout @@ -69,7 +69,7 @@ proc waitForBgsave r { proc waitForBgrewriteaof r { while 1 { - if {[status r bgrewriteaof_in_progress] eq 1} { + if {[status r aof_rewrite_in_progress] eq 1} { if {$::verbose} { puts -nonewline "\nWaiting for background AOF rewrite to finish... " flush stdout @@ -83,7 +83,7 @@ proc waitForBgrewriteaof r { proc wait_for_sync r { while 1 { - if {[status r master_link_status] eq "down"} { + if {[status $r master_link_status] eq "down"} { after 10 } else { break