mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
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:
committed by
GitHub
parent
c1bd61a4a5
commit
3603f19496
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user