diff --git a/tests/unit/type/list.tcl b/tests/unit/type/list.tcl index 61ad98565..7c0fa87e3 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 7836577a2..e84cb0e30 100644 --- a/tests/unit/type/zset.tcl +++ b/tests/unit/type/zset.tcl @@ -1962,9 +1962,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