Skip to content

Commit d6eef2b

Browse files
authored
Adjust expiration time and sleep duration in test
1 parent e8200e3 commit d6eef2b

File tree

1 file changed

+2
-2
lines changed
  • tests/integration/test_export_replicated_mt_partition_to_object_storage

1 file changed

+2
-2
lines changed

tests/integration/test_export_replicated_mt_partition_to_object_storage/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ def test_export_ttl(cluster):
479479
mt_table = "export_ttl_mt_table"
480480
s3_table = "export_ttl_s3_table"
481481

482-
expiration_time = 5
482+
expiration_time = 3
483483

484484
create_tables_and_insert_data(node, mt_table, s3_table, "replica1")
485485

@@ -492,7 +492,7 @@ def test_export_ttl(cluster):
492492

493493
# wait for the export to finish and for the manifest to expire
494494
wait_for_export_status(node, mt_table, s3_table, "2020", "COMPLETED")
495-
time.sleep(expiration_time)
495+
time.sleep(expiration_time * 2)
496496

497497
# assert that the export succeeded, check the commit file
498498
assert node.query(f"SELECT count() FROM s3(s3_conn, filename='{s3_table}/commit_2020_*', format=LineAsString)") == '1\n', "Export did not succeed"

0 commit comments

Comments
 (0)