Skip to content

Commit 772d12e

Browse files
authored
verify expiration is set on hashexpire active expire test (#2440)
This might help shed some light on the flakey failure e.g: https://github.com/valkey-io/valkey/actions/runs/16754537665/job/47433388425?pr=2431 Signed-off-by: Ran Shidlansik <[email protected]>
1 parent 094c80b commit 772d12e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/hashexpire.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4275,7 +4275,7 @@ foreach command {HEXPIRE HPEXPIRE HEXPIREAT HPEXPIREAT} {
42754275

42764276
# For each key, set expire for 5 fields
42774277
for {set i 1} {$i <= 5} {incr i} {
4278-
r $command myhash$i [get_short_expire_value $command] FIELDS 5 f1 f2 f3 f4 f5
4278+
assert_equal {1 1 1 1 1} [r $command myhash$i [get_short_expire_value $command] FIELDS 5 f1 f2 f3 f4 f5]
42794279
}
42804280

42814281
# Wait for expiry

0 commit comments

Comments
 (0)