Skip to content

Commit dc6a919

Browse files
fix sorbet safe mode
1 parent a0b0b23 commit dc6a919

File tree

2 files changed

+30
-29
lines changed

2 files changed

+30
-29
lines changed

solution/deps.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ scuba:
109109
tag: 1.1.0-preview.9
110110
envsubst: SCUBA_TAG
111111
sorbet:
112-
sourceRegistry: ghcr.io/scality
112+
sourceRegistry: ghcr.io/scality/playground/sylvainsenechal
113113
policy: sorbet/sorbet-policies
114114
dashboard: sorbet/sorbet-dashboards
115115
image: sorbet
116-
tag: v1.2.2
116+
tag: v100.1.0
117117
envsubst: SORBET_TAG
118118
stern: # tail any pod logs with pattern matchin
119119
tag: 1.33.0

tests/ctst/features/azureArchive.feature

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,5 @@
11
Feature: Azure Archive
22

3-
@2.7.0
4-
@PreMerge
5-
@Flaky
6-
@AzureArchive
7-
@ColdStorage
8-
Scenario Outline: Failed restore objects from tar must be retried and restored
9-
Given a "<versioningConfiguration>" bucket
10-
And a transition workflow to "e2e-azure-archive" location
11-
And <objectCount> objects "retry-obj" of size <objectSize> bytes
12-
Then object "retry-obj-1" should be "transitioning" and have the storage class "e2e-azure-archive"
13-
And object "retry-obj-2" should be "transitioning" and have the storage class "e2e-azure-archive"
14-
And manifest containing object "retry-obj-1" should "contain" object "retry-obj-2"
15-
When i restore object "retry-obj-1" for <restoreDays> days
16-
Then blob for object "retry-obj-1" fails to rehydrate
17-
And blob for object "retry-obj-2" fails to rehydrate
18-
Then object "retry-obj-1" should be "transitioning" and have the storage class "e2e-azure-archive"
19-
When i run sorbetctl to retry failed restore for "e2e-azure-archive" location
20-
Then object "retry-obj-1" should be "restored" and have the storage class "e2e-azure-archive"
21-
And object "retry-obj-1" should expire in <restoreDays> days
22-
And object "retry-obj-1" should have the same data
23-
24-
Examples:
25-
| versioningConfiguration | objectCount | objectSize | restoreDays |
26-
| Non versioned | 2 | 100 | 5 |
27-
| Versioned | 2 | 100 | 2 |
28-
| Suspended | 2 | 100 | 2 |
29-
303
@2.7.0
314
@PreMerge
325
@Flaky
@@ -251,6 +224,34 @@ Feature: Azure Archive
251224
| Versioned | 2 | 100 | 15 |
252225
| Suspended | 2 | 100 | 15 |
253226

227+
228+
@2.7.0
229+
@PreMerge
230+
@Flaky
231+
@AzureArchive
232+
@ColdStorage
233+
Scenario Outline: Failed restore objects from tar must be retried and restored
234+
Given a "<versioningConfiguration>" bucket
235+
And a transition workflow to "e2e-azure-archive" location
236+
And <objectCount> objects "retry-obj" of size <objectSize> bytes
237+
Then object "retry-obj-1" should be "transitioning" and have the storage class "e2e-azure-archive"
238+
And object "retry-obj-2" should be "transitioning" and have the storage class "e2e-azure-archive"
239+
And manifest containing object "retry-obj-1" should "contain" object "retry-obj-2"
240+
When i restore object "retry-obj-1" for <restoreDays> days
241+
Then blob for object "retry-obj-1" fails to rehydrate
242+
And blob for object "retry-obj-2" fails to rehydrate
243+
Then object "retry-obj-1" should be "transitioning" and have the storage class "e2e-azure-archive"
244+
When i run sorbetctl to retry failed restore for "e2e-azure-archive" location
245+
Then object "retry-obj-1" should be "restored" and have the storage class "e2e-azure-archive"
246+
And object "retry-obj-1" should expire in <restoreDays> days
247+
And object "retry-obj-1" should have the same data
248+
249+
Examples:
250+
| versioningConfiguration | objectCount | objectSize | restoreDays |
251+
| Non versioned | 2 | 100 | 5 |
252+
| Versioned | 2 | 100 | 2 |
253+
| Suspended | 2 | 100 | 2 |
254+
254255
@2.7.0
255256
@PreMerge
256257
@Flaky

0 commit comments

Comments
 (0)