summaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorMeir Shpilraien (Spielrein) <meir@redis.com>2022-08-24 13:38:55 +0300
committerGitHub <noreply@github.com>2022-08-24 13:38:55 +0300
commit3603f19496bdbae084ea2ae15b4b53de41e2b728 (patch)
treead6c01d00100ad200f7f39b50c332fe0f8a3b439 /tests/integration
parentc1bd61a4a50225982d4a9bc7c66fec913b0c9af2 (diff)
downloadredis-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.tcl2
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]