increase a time gap between insert and ttl move

This commit is contained in:
Sema Checherinda 2023-02-09 15:12:21 +01:00 committed by GitHub
parent 282695e7e7
commit ffc97908ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,7 +182,7 @@ def test_move_failover(cluster):
data String
) ENGINE=MergeTree()
ORDER BY id
TTL dt + INTERVAL 3 SECOND TO VOLUME 'external'
TTL dt + INTERVAL 4 SECOND TO VOLUME 'external'
SETTINGS storage_policy='s3_cold'
"""
)
@ -191,7 +191,7 @@ def test_move_failover(cluster):
fail_request(cluster, 1)
node.query(
"INSERT INTO s3_failover_test VALUES (now() - 2, 0, 'data'), (now() - 2, 1, 'data')"
"INSERT INTO s3_failover_test VALUES (now() - 1, 0, 'data'), (now() - 1, 1, 'data')"
)
# Wait for part move to S3.