Skip to content

Commit 0383f4f

Browse files
committed
fixed: issue from review
1 parent 93bbd0f commit 0383f4f

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

tests/unit/type/stream.tcl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -946,12 +946,9 @@ start_server {
946946
r SAVE
947947
restart_server 0 true false
948948

949-
# Verify entries survived the load (not filtered as expired)
950-
set reply [r XINFO STREAM mystream]
951-
assert_equal 2 [dict get $reply pids-tracked]
952-
assert_equal 2 [dict get $reply iids-tracked]
953-
954949
# Wait for IDMP entries to expire and for the cron to clean them up.
950+
# If the stream was not registered in stream_idmp_keys after RDB load,
951+
# the counts would never reach 0.
955952
# Poll instead of a fixed sleep so the test finishes as soon as possible.
956953
wait_for_condition 50 100 {
957954
[dict get [r XINFO STREAM mystream] pids-tracked] == 0 &&

0 commit comments

Comments
 (0)