Make test simpler to see errors not in teardown

This commit is contained in:
Yatsishin Ilya 2023-01-18 15:36:24 +00:00
parent 80f6a45376
commit 1603e734f9

View File

@ -177,10 +177,7 @@ def get_table_uuid(node, db_atomic, table):
return uuid
@pytest.fixture(autouse=True)
def drop_table(cluster):
yield
node_names = ["node1z", "node2z", "node1n", "node2n", "node_another_bucket"]
for node_name in node_names:
@ -257,3 +254,5 @@ def test_restore_another_bucket_path(cluster, db_atomic, zero_copy):
assert node_another_bucket.query(
"SELECT count(*) FROM s3.test FORMAT Values"
) == "({})".format(size * (keys - dropped_keys))
drop_table(cluster)