diff --git a/tests/ctst/features/dmf.feature b/tests/ctst/features/dmf.feature index 175553e87b..6c35212d4d 100644 --- a/tests/ctst/features/dmf.feature +++ b/tests/ctst/features/dmf.feature @@ -92,3 +92,37 @@ Feature: DMF | versioningConfiguration | objectCount | objectSize | | Non versioned | 1 | 100 | | Suspended | 1 | 100 | + + + @2.7.0 + @PreMerge + @Flaky + @Dmf + @ColdStorage + Scenario Outline: Restore an already restored object + Given a "" bucket + And a transition workflow to "e2e-cold" location + And objects "obj" of size bytes + Then object "obj-1" should be "transitioned" and have the storage class "e2e-cold" + And object "obj-2" should be "transitioned" and have the storage class "e2e-cold" + When i restore object "obj-1" for days + And i restore object "obj-2" for days + Then object "obj-1" should be "restored" and have the storage class "e2e-cold" + And object "obj-2" should be "restored" and have the storage class "e2e-cold" + And object "obj-1" should expire in days + And object "obj-2" should expire in days + When i restore object "obj-1" for 30 days + And i restore object "obj-2" for 5 days + Then object "obj-1" should expire in 30 days + And object "obj-2" should expire in 5 days + When i wait for 5 days + Then object "obj-1" should expire in 25 days + And object "obj-2" should be "cold" and have the storage class "e2e-cold" + When i wait for 25 days + Then object "obj-1" should be "cold" and have the storage class "e2e-cold" + + Examples: + | versioningConfiguration | objectCount | objectSize | restoreDays | + | Non versioned | 2 | 100 | 15 | + | Versioned | 2 | 100 | 15 | + | Suspended | 2 | 100 | 15 | \ No newline at end of file