From: Jiffin Tony Thottan Date: Fri, 30 May 2025 12:39:21 +0000 (+0530) Subject: increase time out for restore op in test_restore_object_permanent X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b58d24c95003aa4defb7a5424a7458910bece5df;p=s3-tests.git increase time out for restore op in test_restore_object_permanent and in test_lifecycle_expiration_size_gt() for lc. Fixes: https://tracker.ceph.com/issues/71348 Signed-off-by: Jiffin Tony Thottan --- diff --git a/s3tests_boto3/functional/test_s3.py b/s3tests_boto3/functional/test_s3.py index 7f7defc5..82d0e142 100644 --- a/s3tests_boto3/functional/test_s3.py +++ b/s3tests_boto3/functional/test_s3.py @@ -8842,7 +8842,7 @@ def test_lifecycle_expiration_size_gt(): assert response['ResponseMetadata']['HTTPStatusCode'] == 200 lc_interval = get_lc_debug_interval() - time.sleep(2*lc_interval) + time.sleep(10*lc_interval) # we should find only the small object present response = client.list_objects(Bucket=bucket_name) @@ -10002,7 +10002,7 @@ def test_restore_object_temporary(): # Restore object temporarily client.restore_object(Bucket=bucket, Key=key, RestoreRequest={'Days': 2}) - time.sleep(2) + time.sleep(5) # Verify object is restored temporarily verify_transition(client, bucket, key, cloud_sc) @@ -10044,7 +10044,7 @@ def test_restore_object_permanent(): # Restore object permanently client.restore_object(Bucket=bucket, Key=key, RestoreRequest={}) - time.sleep(2) + time.sleep(5) # Verify object is restored permanently verify_transition(client, bucket, key, 'STANDARD') response = client.head_object(Bucket=bucket, Key=key) @@ -10165,7 +10165,7 @@ def test_restore_noncur_obj(): verify_transition(client, bucket, key, cloud_sc, version_ids[num]) # Restore object temporarily client.restore_object(Bucket=bucket, Key=key, VersionId=version_ids[num], RestoreRequest={'Days': 2}) - time.sleep(2) + time.sleep(5) # Verify object is restored temporarily response = client.head_object(Bucket=bucket, Key=key, VersionId=version_ids[num])