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 <ari@dragonflydb.io>

* Fix typo

Signed-off-by: ashotland <ari@dragonflydb.io>

* Wait for sentinel termination

Signed-off-by: ashotland <ari@dragonflydb.io>

---------

Signed-off-by: ashotland <ari@dragonflydb.io>
This commit is contained in:
ashotland 2023-02-17 16:45:39 +02:00 committed by GitHub
parent d6043c7d6d
commit 4b3dc87ba0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}"]