mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
tests: improve test_log_family_s3 in case of failures
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
51e27c22a7
commit
499ff70295
@ -57,6 +57,7 @@ def test_log_family_s3(cluster, log_engine, files_overhead, files_overhead_per_i
|
||||
)
|
||||
)
|
||||
|
||||
try:
|
||||
node.query("INSERT INTO s3_test SELECT number FROM numbers(5)")
|
||||
assert node.query("SELECT * FROM s3_test") == "0\n1\n2\n3\n4\n"
|
||||
assert_objects_count(cluster, files_overhead_per_insert + files_overhead)
|
||||
@ -73,5 +74,5 @@ def test_log_family_s3(cluster, log_engine, files_overhead, files_overhead_per_i
|
||||
|
||||
node.query("TRUNCATE TABLE s3_test")
|
||||
assert_objects_count(cluster, 0)
|
||||
|
||||
finally:
|
||||
node.query("DROP TABLE s3_test")
|
||||
|
Loading…
Reference in New Issue
Block a user