From 4b3dc87ba0ef0b84d50973594dc2a81d7f712ddf Mon Sep 17 00:00:00 2001 From: ashotland Date: Fri, 17 Feb 2023 16:45:39 +0200 Subject: [PATCH] Fix(regression-tests): Sentinel test - wait for sentinel termination (#816) * Ditch docker whcih is complex on CI in favour of local redis binary Signed-off-by: ashotland * Fix typo Signed-off-by: ashotland * Wait for sentinel termination Signed-off-by: ashotland --------- Signed-off-by: ashotland --- tests/dragonfly/sentinel_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/dragonfly/sentinel_test.py b/tests/dragonfly/sentinel_test.py index f622dff96..72ead9a08 100644 --- a/tests/dragonfly/sentinel_test.py +++ b/tests/dragonfly/sentinel_test.py @@ -67,6 +67,7 @@ class Sentinel: def stop(self): self.proc.terminate() + self.proc.wait(timeout=10) def run_cmd(self, args, sentinel_cmd=True, capture_output=False, assert_ok=True) -> subprocess.CompletedProcess: run_args = ["redis-cli", "-p", f"{self.port}"]