Merge pull request #37658 from vitlibar/fix-flaky-test_row_policy

Fix flaky test test_row_policy
This commit is contained in:
Alexander Tokmakov 2022-05-31 12:59:50 +03:00 committed by GitHub
commit 30a7b07d97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,6 +87,11 @@ def reset_policies():
copy_policy_xml("normal_filters.xml") copy_policy_xml("normal_filters.xml")
for current_node in nodes: for current_node in nodes:
current_node.query("DROP POLICY IF EXISTS pA, pB ON mydb.filtered_table1") current_node.query("DROP POLICY IF EXISTS pA, pB ON mydb.filtered_table1")
current_node.query("DROP POLICY IF EXISTS pC ON mydb.other_table")
current_node.query("DROP POLICY IF EXISTS all_data ON dist_tbl, local_tbl")
current_node.query(
"DROP POLICY IF EXISTS role1_data ON dist_tbl, local_tbl"
)
def test_smoke(): def test_smoke():