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:
parent
e8078b7315
commit
b09db3ef78
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user