Skip to content

Commit 9f01fd8

Browse files
committed
Hardening tests
Signed-off-by: Ilya Golshtein <igolshtein@altinity.com>
1 parent 79107eb commit 9f01fd8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

tests/integration/test_log_family_s3/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def test_log_family_s3(cluster, log_engine, files_overhead, files_overhead_per_i
7575
node.query("TRUNCATE TABLE s3_test")
7676
wait_blobs_count_synchronization(cluster.minio_client, 0)
7777
finally:
78-
node.query("DROP TABLE s3_test")
78+
node.query("DROP TABLE s3_test SYNC")
7979

8080

8181
# Imitate case when error occurs while inserting into table.
@@ -111,4 +111,4 @@ def test_stripe_log_truncate(cluster):
111111
node.query("DETACH TABLE stripe_table")
112112
node.query("ATTACH TABLE stripe_table")
113113

114-
assert node.query("DROP TABLE stripe_table") == ""
114+
assert node.query("DROP TABLE stripe_table SYNC") == ""

tests/integration/test_merge_tree_s3/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,7 @@ def test_freeze_system_unfreeze(cluster, node_name):
668668
@pytest.mark.parametrize("node_name", ["node"])
669669
def test_s3_disk_apply_new_settings(cluster, node_name):
670670
node = cluster.instances[node_name]
671+
check_no_objects_after_drop(cluster)
671672
create_table(node, "s3_test")
672673

673674
config_path = os.path.join(

0 commit comments

Comments
 (0)