From 9cc6fec36cf9b704858bfdf6dc06794a6813bda7 Mon Sep 17 00:00:00 2001 From: alesapin Date: Wed, 16 Dec 2020 19:10:46 +0300 Subject: [PATCH 1/2] Supress error in 00993_system_parts_race_condition_drop_zookeeper --- .../00993_system_parts_race_condition_drop_zookeeper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/queries/0_stateless/00993_system_parts_race_condition_drop_zookeeper.sh b/tests/queries/0_stateless/00993_system_parts_race_condition_drop_zookeeper.sh index d4344e6e8bd..6cdcc2320f6 100755 --- a/tests/queries/0_stateless/00993_system_parts_race_condition_drop_zookeeper.sh +++ b/tests/queries/0_stateless/00993_system_parts_race_condition_drop_zookeeper.sh @@ -98,6 +98,6 @@ timeout $TIMEOUT bash -c thread6 2>&1 | grep "was not completely removed from Zo wait for i in {0..9}; do - $CLICKHOUSE_CLIENT -q "DROP TABLE IF EXISTS alter_table_$i" & + $CLICKHOUSE_CLIENT -q "DROP TABLE IF EXISTS alter_table_$i" 2>&1 | grep -v 'is already started to be removing by another' & done wait From 8139bab240d2a94095707254d6a62e18910597ab Mon Sep 17 00:00:00 2001 From: alesapin Date: Wed, 16 Dec 2020 19:12:57 +0300 Subject: [PATCH 2/2] More relaxed check --- .../00993_system_parts_race_condition_drop_zookeeper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/queries/0_stateless/00993_system_parts_race_condition_drop_zookeeper.sh b/tests/queries/0_stateless/00993_system_parts_race_condition_drop_zookeeper.sh index 6cdcc2320f6..0c13ad2d573 100755 --- a/tests/queries/0_stateless/00993_system_parts_race_condition_drop_zookeeper.sh +++ b/tests/queries/0_stateless/00993_system_parts_race_condition_drop_zookeeper.sh @@ -98,6 +98,6 @@ timeout $TIMEOUT bash -c thread6 2>&1 | grep "was not completely removed from Zo wait for i in {0..9}; do - $CLICKHOUSE_CLIENT -q "DROP TABLE IF EXISTS alter_table_$i" 2>&1 | grep -v 'is already started to be removing by another' & + $CLICKHOUSE_CLIENT -q "DROP TABLE IF EXISTS alter_table_$i" 2>&1 | grep "was not completely removed from ZooKeeper" & done wait