diff --git a/tests/unit/type/list.tcl b/tests/unit/type/list.tcl index 6a02960d4..2344b26fd 100644 --- a/tests/unit/type/list.tcl +++ b/tests/unit/type/list.tcl @@ -1265,9 +1265,9 @@ foreach {pop} {BLPOP BLMPOP_LEFT} { assert_equal {} [$rd read] set end [clock milliseconds] - # In the past, this time would have been 1000+200, in order to avoid - # timing issues, we increase the range a bit. - assert_range [expr $end-$start] 1000 1100 + # Before the fix in #13004, this time would have been 1200+ (i.e. more than 1200ms), + # now it should be 1000, but in order to avoid timing issues, we increase the range a bit. + assert_range [expr $end-$start] 1000 1150 r debug set-active-expire 1 $rd close diff --git a/tests/unit/type/stream-cgroups.tcl b/tests/unit/type/stream-cgroups.tcl index 242059ef7..46e0b05c5 100644 --- a/tests/unit/type/stream-cgroups.tcl +++ b/tests/unit/type/stream-cgroups.tcl @@ -518,9 +518,9 @@ start_server { assert_equal {} [$rd2 read] set end [clock milliseconds] - # In the past, this time would have been 1000+200, in order to avoid - # timing issues, we increase the range a bit. - assert_range [expr $end-$start] 1000 1100 + # Before the fix in #13004, this time would have been 1200+ (i.e. more than 1200ms), + # now it should be 1000, but in order to avoid timing issues, we increase the range a bit. + assert_range [expr $end-$start] 1000 1150 $rd1 close $rd2 close diff --git a/tests/unit/type/zset.tcl b/tests/unit/type/zset.tcl index 998633fb9..0290acbbf 100644 --- a/tests/unit/type/zset.tcl +++ b/tests/unit/type/zset.tcl @@ -2009,9 +2009,9 @@ start_server {tags {"zset"}} { assert_equal {} [$rd read] set end [clock milliseconds] - # In the past, this time would have been 1000+200, in order to avoid - # timing issues, we increase the range a bit. - assert_range [expr $end-$start] 1000 1100 + # Before the fix in #13004, this time would have been 1200+ (i.e. more than 1200ms), + # now it should be 1000, but in order to avoid timing issues, we increase the range a bit. + assert_range [expr $end-$start] 1000 1150 r debug set-active-expire 1 $rd close