We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93bbd0f commit 0383f4fCopy full SHA for 0383f4f
1 file changed
tests/unit/type/stream.tcl
@@ -946,12 +946,9 @@ start_server {
946
r SAVE
947
restart_server 0 true false
948
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
-
954
# Wait for IDMP entries to expire and for the cron to clean them up.
+ # If the stream was not registered in stream_idmp_keys after RDB load,
+ # the counts would never reach 0.
955
# Poll instead of a fixed sleep so the test finishes as soon as possible.
956
wait_for_condition 50 100 {
957
[dict get [r XINFO STREAM mystream] pids-tracked] == 0 &&
0 commit comments