running cloud restore tests seperately

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
This commit is contained in:
Jiffin Tony Thottan 2025-02-24 11:11:43 +05:30
parent ca71ddd86b
commit 598fd3777d
3 changed files with 2 additions and 8 deletions

View file

@ -73,7 +73,7 @@ access_key = NOPQRSTUVWXYZABCDEFG
secret_key = nopqrstuvwxyzabcdefghijklmnabcdefghijklm
#[s3 cloud]
## to run the testcases with "cloud_transition" for transition
## to run the testcases with "cloud_transition" for transition
## and "cloud_restore" for restore attribute.
## Note: the waiting time may have to tweaked depending on
## the I/O latency to the cloud endpoint.

View file

@ -399,7 +399,7 @@ def get_cloud_config(cfg):
config.cloud_regular_storage_class = cfg.get('s3 cloud', "storage_class")
except (configparser.NoSectionError, configparser.NoOptionError):
config.cloud_regular_storage_class = None
try:
config.read_through_restore_days = int(cfg.get('s3 cloud', "read_through_restore_days"))
except (configparser.NoSectionError, configparser.NoOptionError):

View file

@ -9739,8 +9739,6 @@ def test_lifecycle_cloud_transition_large_obj():
expire1_key1_str = prefix + keys[1]
verify_object(cloud_client, target_path, expire1_key1_str, data, target_sc)
@pytest.mark.lifecycle_transition
@pytest.mark.cloud_transition
@pytest.mark.cloud_restore
@pytest.mark.fails_on_aws
@pytest.mark.fails_on_dbstore
@ -9784,8 +9782,6 @@ def test_restore_object_temporary():
response = client.head_object(Bucket=bucket, Key=key)
assert response['ContentLength'] == 0
@pytest.mark.lifecycle_transition
@pytest.mark.cloud_transition
@pytest.mark.cloud_restore
@pytest.mark.fails_on_aws
@pytest.mark.fails_on_dbstore
@ -9822,8 +9818,6 @@ def test_restore_object_permanent():
response = client.head_object(Bucket=bucket, Key=key)
assert response['ContentLength'] == len(data)
@pytest.mark.lifecycle_transition
@pytest.mark.cloud_transition
@pytest.mark.cloud_restore
@pytest.mark.fails_on_aws
@pytest.mark.fails_on_dbstore