From 174eedce44946ba58426ad45fc206977a564d1d2 Mon Sep 17 00:00:00 2001 From: Binbin Date: Sat, 13 Nov 2021 13:55:48 +0800 Subject: [PATCH] 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. --- tests/unit/expire.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/expire.tcl b/tests/unit/expire.tcl index 5f97f638a..b0fa5e1bc 100644 --- a/tests/unit/expire.tcl +++ b/tests/unit/expire.tcl @@ -95,7 +95,7 @@ start_server {tags {"expire"}} { # 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 # chances. - for {set j 0} {$j < 30} {incr j} { + for {set j 0} {$j < 50} {incr j} { r del x r del y r del z