Skip to content

Commit

Permalink
Fix typo in streams seen-time / active-time test (#1409)
Browse files Browse the repository at this point in the history
This variable name is wrong, it causes the wrong variable to be asserted.

Signed-off-by: Roman Gershman <[email protected]>
  • Loading branch information
romange authored Dec 9, 2024
1 parent e8078b7 commit b09db3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/type/stream-cgroups.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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]
Expand Down

0 comments on commit b09db3e

Please sign in to comment.