From fdab1021f6478c0e1776190db887cc3afa7671fb Mon Sep 17 00:00:00 2001 From: kssenii Date: Sat, 3 Apr 2021 07:59:26 +0000 Subject: [PATCH] Add unpause container after test --- tests/integration/test_storage_mysql/test.py | 1 + tests/integration/test_storage_postgresql/test.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/integration/test_storage_mysql/test.py b/tests/integration/test_storage_mysql/test.py index 942f349cab1..4520b3f3837 100644 --- a/tests/integration/test_storage_mysql/test.py +++ b/tests/integration/test_storage_mysql/test.py @@ -256,6 +256,7 @@ def test_mysql_distributed(started_cluster): # disconnect mysql1 started_cluster.pause_container('mysql1') result = node2.query("SELECT DISTINCT(name) FROM test_shards ORDER BY name") + started_cluster.unpause_container('mysql1') assert(result == 'host2\nhost4\n' or result == 'host3\nhost4\n') diff --git a/tests/integration/test_storage_postgresql/test.py b/tests/integration/test_storage_postgresql/test.py index 07e5d160cff..bbb9e43a5b0 100644 --- a/tests/integration/test_storage_postgresql/test.py +++ b/tests/integration/test_storage_postgresql/test.py @@ -289,6 +289,7 @@ def test_postgres_distributed(started_cluster): # Disconnect postgres1 started_cluster.pause_container('postgres1') result = node2.query("SELECT DISTINCT(name) FROM test_shards ORDER BY name") + started_cluster.unpause_container('postgres1') assert(result == 'host2\nhost4\n' or result == 'host3\nhost4\n')