Unverified Commit 174eedce authored by Binbin's avatar Binbin Committed by GitHub
Browse files

Tune expire test threshold. (#9775)

I have seen this CI failure twice on MacOS:

*** [err]: PEXPIRE/PSETEX/PEXPIREAT can set sub-second expires in tests/unit/expire.tcl
Expected 'somevalue {} somevalue {} somevalue {}' to equal or match '{} {} {} {} somevalue {}'

I did some loop test in my own daily CI, the results show that is
not particularly stable. Change the threshold from 30 to 50.
parent bcb7961f
...@@ -95,7 +95,7 @@ start_server {tags {"expire"}} { ...@@ -95,7 +95,7 @@ start_server {tags {"expire"}} {
# This test is very likely to do a false positive if the # This test is very likely to do a false positive if the
# server is under pressure, so if it does not work give it a few more # server is under pressure, so if it does not work give it a few more
# chances. # chances.
for {set j 0} {$j < 30} {incr j} { for {set j 0} {$j < 50} {incr j} {
r del x r del x
r del y r del y
r del z r del z
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment