diff --git a/tests/unit/type/stream.tcl b/tests/unit/type/stream.tcl index d4b60c21c..1d2448489 100644 --- a/tests/unit/type/stream.tcl +++ b/tests/unit/type/stream.tcl @@ -287,6 +287,7 @@ start_server { r XADD s2{t} * old abcd1234 set rd [redis_deferring_client] $rd XREAD BLOCK 20000 STREAMS s1{t} s2{t} s3{t} $ $ $ + wait_for_blocked_client r XADD s2{t} * new abcd1234 set res [$rd read] assert {[lindex $res 0 0] eq {s2{t}}}