From dfb6890f272385114e372f5ffe79a0c37db82a9a Mon Sep 17 00:00:00 2001 From: Anton Popov Date: Mon, 5 Apr 2021 13:52:53 +0300 Subject: [PATCH] fix flaky test --- tests/queries/0_stateless/01039_row_policy_dcl.sh | 7 +++++++ tests/queries/0_stateless/01039_row_policy_dcl.sql | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100755 tests/queries/0_stateless/01039_row_policy_dcl.sh delete mode 100644 tests/queries/0_stateless/01039_row_policy_dcl.sql diff --git a/tests/queries/0_stateless/01039_row_policy_dcl.sh b/tests/queries/0_stateless/01039_row_policy_dcl.sh new file mode 100755 index 00000000000..8c2249f2981 --- /dev/null +++ b/tests/queries/0_stateless/01039_row_policy_dcl.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) +# shellcheck source=../shell_config.sh +. "$CURDIR"/../shell_config.sh + +${CLICKHOUSE_CLIENT} -q "SHOW POLICIES ON $CLICKHOUSE_DATABASE.*" diff --git a/tests/queries/0_stateless/01039_row_policy_dcl.sql b/tests/queries/0_stateless/01039_row_policy_dcl.sql deleted file mode 100644 index 14742a72914..00000000000 --- a/tests/queries/0_stateless/01039_row_policy_dcl.sql +++ /dev/null @@ -1 +0,0 @@ -SHOW POLICIES;