mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
fix
This commit is contained in:
parent
9227305950
commit
b0cbbe6ec0
@ -1,5 +1,6 @@
|
||||
import pytest
|
||||
import uuid
|
||||
import logging
|
||||
import time
|
||||
|
||||
from helpers.cluster import ClickHouseCluster
|
||||
@ -37,11 +38,11 @@ def test_undrop_drop_and_undrop_loop(started_cluster):
|
||||
for i in range(10):
|
||||
if i >= 8: # -> setting for table to live after drop = 80 seconds
|
||||
error = node.query_and_get_error(
|
||||
f"UNDROP TABLE test_undrop_loop_{i} UUID '{table_uuid}';"
|
||||
f"UNDROP TABLE test_undrop_loop_{i} UUID '{uuid_list[i]}';"
|
||||
)
|
||||
assert "UNKNOWN_TABLE" in error
|
||||
else:
|
||||
node.query(
|
||||
f"UNDROP TABLE test_undrop_loop_{i} UUID '{table_uuid}';"
|
||||
f"UNDROP TABLE test_undrop_loop_{i} UUID '{uuid_list[i]}';"
|
||||
)
|
||||
time.sleep(10)
|
||||
|
Loading…
Reference in New Issue
Block a user