mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Increase sleep time make sure there is a new failure
The previous sleep was already adding +5s to make sure the TTL was properly applied, so we'd rather use the same value here instead of just 1s.
This commit is contained in:
parent
f03d4bb7d5
commit
59f9c12504
@ -871,7 +871,7 @@ def test_max_set_age(started_cluster):
|
||||
node.query(f"SELECT uniq(_path) from {dst_table_name}")
|
||||
)
|
||||
|
||||
time.sleep(max_age + 5)
|
||||
time.sleep(max_age + max_age / 2)
|
||||
|
||||
expected_rows *= 2
|
||||
wait_for_condition(lambda: get_count() == expected_rows)
|
||||
@ -922,7 +922,7 @@ def test_max_set_age(started_cluster):
|
||||
)
|
||||
)
|
||||
|
||||
time.sleep(max_age + 1)
|
||||
time.sleep(max_age + max_age / 2)
|
||||
|
||||
assert failed_count + 2 <= get_object_storage_failures()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user