diff --git a/.github/workflows/regression-tests.yml b/.github/workflows/regression-tests.yml index 65072d5ca91a..43dcba96e3b3 100644 --- a/.github/workflows/regression-tests.yml +++ b/.github/workflows/regression-tests.yml @@ -16,7 +16,7 @@ jobs: # Test of these containers container: ["ubuntu-dev:20"] build-type: [Debug, Release] - timeout-minutes: 30 + timeout-minutes: 45 container: image: ghcr.io/romange/${{ matrix.container }} diff --git a/tests/dragonfly/__init__.py b/tests/dragonfly/__init__.py index 0f53366f637e..e50a987c2522 100644 --- a/tests/dragonfly/__init__.py +++ b/tests/dragonfly/__init__.py @@ -52,6 +52,7 @@ def stop(self, kill=False): except subprocess.TimeoutExpired: print("Unable to terminate DragonflyDB gracefully, it was killed") proc.kill() + proc.communicate() def _start(self): base_args = [f"--{v}" for v in self.params.args] diff --git a/tests/dragonfly/replication_test.py b/tests/dragonfly/replication_test.py index ea5970b122fe..5ceec50377fe 100644 --- a/tests/dragonfly/replication_test.py +++ b/tests/dragonfly/replication_test.py @@ -297,6 +297,7 @@ async def crash_master_fs(): master.stop(kill=True) async def start_master(): + await asyncio.sleep(0.2) master.start() c_master = aioredis.Redis(port=master.port) assert await c_master.ping()