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:
Pablo Marcos 2024-07-25 14:37:47 +00:00
parent f03d4bb7d5
commit 59f9c12504

View File

@ -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()