mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
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:
parent
d6043c7d6d
commit
4b3dc87ba0
1 changed files with 1 additions and 0 deletions
|
@ -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}"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue