mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Merge remote-tracking branch 'origin/data-lakes-survive-restart' into data-lakes-survive-restart
This commit is contained in:
commit
5918ea13b7
@ -40,9 +40,7 @@ def list_s3_objects(minio_client, bucket, prefix=""):
|
||||
prefix_len = len(prefix)
|
||||
return [
|
||||
obj.object_name[prefix_len:]
|
||||
for obj in minio_client.list_objects(
|
||||
bucket, prefix=prefix, recursive=True
|
||||
)
|
||||
for obj in minio_client.list_objects(bucket, prefix=prefix, recursive=True)
|
||||
]
|
||||
|
||||
|
||||
|
@ -448,7 +448,9 @@ def test_restart_broken(started_cluster):
|
||||
|
||||
instance.restart_clickhouse()
|
||||
|
||||
assert "NoSuchBucket" in instance.query_and_get_error(f"SELECT count() FROM {TABLE_NAME}")
|
||||
assert "NoSuchBucket" in instance.query_and_get_error(
|
||||
f"SELECT count() FROM {TABLE_NAME}"
|
||||
)
|
||||
|
||||
minio_client.make_bucket(bucket)
|
||||
|
||||
|
@ -600,7 +600,9 @@ def test_restart_broken(started_cluster):
|
||||
|
||||
instance.restart_clickhouse()
|
||||
|
||||
assert "NoSuchBucket" in instance.query_and_get_error(f"SELECT count() FROM {TABLE_NAME}")
|
||||
assert "NoSuchBucket" in instance.query_and_get_error(
|
||||
f"SELECT count() FROM {TABLE_NAME}"
|
||||
)
|
||||
|
||||
minio_client.make_bucket(bucket)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user