Fix typo in streams seen-time / active-time test (#1409)

This variable name is wrong, it causes the wrong variable to be asserted.

Signed-off-by: Roman Gershman <romange@gmail.com>
This commit is contained in:
Roman Gershman 2024-12-09 10:01:43 +02:00 committed by GitHub
parent e8078b7315
commit b09db3ef78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -944,7 +944,7 @@ start_server {
# Simulate loading from RDB
set reply [r XINFO STREAM x FULL]
set reply [r XINFO STREAM mystream FULL]
set group [lindex [dict get $reply groups] 0]
set consumer [lindex [dict get $group consumers] 0]
set prev_seen [dict get $consumer seen-time]
@ -954,7 +954,7 @@ start_server {
r DEL mystream
r RESTORE mystream 0 $dump
set reply [r XINFO STREAM x FULL]
set reply [r XINFO STREAM mystream FULL]
set group [lindex [dict get $reply groups] 0]
set consumer [lindex [dict get $group consumers] 0]
assert_equal $prev_seen [dict get $consumer seen-time]