fix test timeout wait command (#11181)

Fix `Test replication with lazy expire` test to not timeout the wait command.
This fix will allow the test to pass on slow environments and when running with valgrind.
This commit is contained in:
Meir Shpilraien (Spielrein)
2022-08-24 13:38:55 +03:00
committed by GitHub
parent c1bd61a4a5
commit 3603f19496

View File

@@ -1379,7 +1379,7 @@ start_server {tags {"repl external:skip"}} {
$master pexpire s 1
after 10
$master sadd s foo
assert_equal 1 [$master wait 1 1]
assert_equal 1 [$master wait 1 0]
assert_equal "set" [$master type s]
assert_equal "set" [$slave type s]