diff options
author | Meir Shpilraien (Spielrein) <meir@redis.com> | 2022-08-24 13:38:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 13:38:55 +0300 |
commit | 3603f19496bdbae084ea2ae15b4b53de41e2b728 (patch) | |
tree | ad6c01d00100ad200f7f39b50c332fe0f8a3b439 /tests/integration | |
parent | c1bd61a4a50225982d4a9bc7c66fec913b0c9af2 (diff) | |
download | redis-3603f19496bdbae084ea2ae15b4b53de41e2b728.tar.gz |
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.
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/replication.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/replication.tcl b/tests/integration/replication.tcl index 11849a5b6..153aa8620 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] |