From 3603f19496bdbae084ea2ae15b4b53de41e2b728 Mon Sep 17 00:00:00 2001 From: "Meir Shpilraien (Spielrein)" Date: Wed, 24 Aug 2022 13:38:55 +0300 Subject: [PATCH] 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. --- tests/integration/replication.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/replication.tcl b/tests/integration/replication.tcl index 11849a5b62..153aa86203 100644 --- a/tests/integration/replication.tcl +++ b/tests/integration/replication.tcl @@ -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]