From 541b601317f0b1e55e9a18492858cd218963eda8 Mon Sep 17 00:00:00 2001 From: tavplubix Date: Sat, 3 Apr 2021 13:25:40 +0300 Subject: [PATCH] Try fix flaky test --- tests/integration/test_attach_without_fetching/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_attach_without_fetching/test.py b/tests/integration/test_attach_without_fetching/test.py index a79a7babc0..8b0c1ffbc5 100644 --- a/tests/integration/test_attach_without_fetching/test.py +++ b/tests/integration/test_attach_without_fetching/test.py @@ -122,8 +122,8 @@ def test_attach_without_fetching(start_cluster): with PartitionManager() as pm: # If something goes wrong and replica 2 wants to fetch data, the test will fail. - pm.partition_instances(node_2, node_1) - pm.partition_instances(node_1, node_3) + pm.partition_instances(node_2, node_1, action='REJECT --reject-with tcp-reset') + pm.partition_instances(node_1, node_3, action='REJECT --reject-with tcp-reset') node_1.query("ALTER TABLE test ATTACH PART '0_0_0_0'") -- GitLab