From 5f7789d329d08ad658021b8be67cd4c3bf4073f7 Mon Sep 17 00:00:00 2001 From: Oran Agra Date: Wed, 22 Sep 2021 09:48:44 +0300 Subject: [PATCH] tune lazyfree test timeout (#9527) i've seen this CI failure a couple of times on MacOS: *** [err]: lazy free a stream with all types of metadata in tests/unit/lazyfree.tcl lazyfree isn't done only reason i can think of is that 500ms is sometimes not enough on slow systems. --- tests/unit/lazyfree.tcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/lazyfree.tcl b/tests/unit/lazyfree.tcl index 8c9f8466ce..78286cc8a7 100644 --- a/tests/unit/lazyfree.tcl +++ b/tests/unit/lazyfree.tcl @@ -39,7 +39,7 @@ start_server {tags {"lazyfree"}} { test "lazy free a stream with all types of metadata" { # make the previous test is really done before doing RESETSTAT - wait_for_condition 5 100 { + wait_for_condition 50 100 { [s lazyfree_pending_objects] == 0 } else { fail "lazyfree isn't done" @@ -61,7 +61,7 @@ start_server {tags {"lazyfree"}} { r unlink stream # make sure it was lazy freed - wait_for_condition 5 100 { + wait_for_condition 50 100 { [s lazyfree_pending_objects] == 0 } else { fail "lazyfree isn't done" @@ -77,7 +77,7 @@ start_server {tags {"lazyfree"}} { r unlink s # make sure it was not lazy freed - wait_for_condition 5 100 { + wait_for_condition 50 100 { [s lazyfree_pending_objects] == 0 } else { fail "lazyfree isn't done"