Skip to content

Commit 555bd42

Browse files
remove useless azure archive test
Issue: ZENKO-5203
1 parent a27e280 commit 555bd42

File tree

1 file changed

+27
-19
lines changed

1 file changed

+27
-19
lines changed

tests/ctst/features/azureArchive.feature

Lines changed: 27 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -274,26 +274,34 @@ Feature: Azure Archive
274274
| Versioned | 2 | 30000 | 10 |
275275
| Suspended | 2 | 30000 | 10 |
276276

277-
@2.7.0
278-
@PreMerge
279-
@Flaky
280-
@AzureArchive
281-
Scenario Outline: Pause and resume archiving to azure (PutObject before pause)
282-
Given a "<versioningConfiguration>" bucket
283-
And <objectCount> objects "obj" of size <objectSize> bytes
284-
And a transition workflow to "e2e-azure-archive" location
285-
And that lifecycle is "paused" for the "e2e-azure-archive" location
286-
Then the storage class of object "obj-1" must stay "" for <timeout> seconds
287-
And the storage class of object "obj-2" must stay "" for <timeout> seconds
288-
Given that lifecycle is "resumed" for the "e2e-azure-archive" location
289-
Then object "obj-1" should be "transitioning" and have the storage class "e2e-azure-archive"
290-
And object "obj-2" should be "transitioning" and have the storage class "e2e-azure-archive"
277+
# This test is flaky, and doesn't make much sense as it is :
278+
# Put object, setup Transition workflow, Then pause that transition,
279+
# but by the time the transition is paused,
280+
# the object is often already transitioned, so the test is failing on this step :
281+
# the storage class of object "obj-1" must stay ""
282+
# We should put the object after pausing the transition,
283+
# but then we end up making the same test as the scenario above : "PutObject after pause"
291284

292-
Examples:
293-
| versioningConfiguration | objectCount | objectSize | timeout |
294-
| Non versioned | 2 | 30000 | 10 |
295-
| Versioned | 2 | 30000 | 10 |
296-
| Suspended | 2 | 30000 | 10 |
285+
# @2.7.0
286+
# @PreMerge
287+
# @Flaky
288+
# @AzureArchive
289+
# Scenario Outline: Pause and resume archiving to azure (PutObject before pause)
290+
# Given a "<versioningConfiguration>" bucket
291+
# And <objectCount> objects "obj" of size <objectSize> bytes
292+
# And a transition workflow to "e2e-azure-archive" location
293+
# And that lifecycle is "paused" for the "e2e-azure-archive" location
294+
# Then the storage class of object "obj-1" must stay "" for <timeout> seconds
295+
# And the storage class of object "obj-2" must stay "" for <timeout> seconds
296+
# Given that lifecycle is "resumed" for the "e2e-azure-archive" location
297+
# Then object "obj-1" should be "transitioning" and have the storage class "e2e-azure-archive"
298+
# And object "obj-2" should be "transitioning" and have the storage class "e2e-azure-archive"
299+
300+
# Examples:
301+
# | versioningConfiguration | objectCount | objectSize | timeout |
302+
# | Non versioned | 2 | 30000 | 10 |
303+
# | Versioned | 2 | 30000 | 10 |
304+
# | Suspended | 2 | 30000 | 10 |
297305

298306
@2.7.0
299307
@PreMerge

0 commit comments

Comments
 (0)