From 1e7ad894d2ecb9ad73d68ff1f1102195582b1469 Mon Sep 17 00:00:00 2001 From: Oran Agra Date: Mon, 30 Aug 2021 12:39:09 +0300 Subject: [PATCH] Tune timeout of active defrag test (#9426) Failed on Raspberry Pi 3b where that single test took about 170 seconds --- tests/unit/memefficiency.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/memefficiency.tcl b/tests/unit/memefficiency.tcl index cff805431..ef2a14019 100644 --- a/tests/unit/memefficiency.tcl +++ b/tests/unit/memefficiency.tcl @@ -73,7 +73,7 @@ start_server {tags {"defrag external:skip"} overrides {appendonly yes auto-aof-r } # Wait for the active defrag to stop working. - wait_for_condition 150 100 { + wait_for_condition 2000 100 { [s active_defrag_running] eq 0 } else { after 120 ;# serverCron only updates the info once in 100ms