You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: monitoring/uss_qualifier/scenarios/astm/utm/dss/synchronization/subscription_synchronization.md
+74-6Lines changed: 74 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -74,10 +74,10 @@ Verify that the subscription returned by every DSS is correctly formatted and co
74
74
75
75
Verify that the version of the subscription returned by every DSS is as expected.
76
76
77
-
### Mutate subscription test step
77
+
### Mutate subscription broadcast test step
78
78
79
-
This test step mutates the previously created subscription to verify that the DSS reacts properly: notably, it checks that the subscription version is updated,
80
-
including for changes that are not directly visible, such as changing the subscription's footprint.
79
+
This test step mutates the previously created subscription, by accessing the primary DSS, to verify that the update is propagated to all other DSSes.
80
+
Notably, it checks that the subscription version is updated, including for changes that are not directly visible, such as changing the subscription's footprint.
@@ -122,9 +122,51 @@ Verify that the subscription returned by every DSS is correctly formatted and co
122
122
123
123
Verify that the version of the subscription returned by every DSS is as expected.
124
124
125
-
### Delete subscription test step
125
+
### Mutate subscription on secondaries test step
126
126
127
-
Attempt to delete the subscription in various ways and ensure that the DSS reacts properly.
127
+
This test step attempts to mutate the subscription on every secondary DSS instance (that is, instances through which the subscription has not been created) to confirm that such mutations are properly propagated to every DSS.
128
+
129
+
#### 🛑 Subscription can be mutated on secondary DSS check
130
+
131
+
If the secondary DSS does not allow the subscription to be mutated, either the secondary DSS or the primary DSS are in violation of one or both of the following requirements:
132
+
133
+
**[astm.f3548.v21.DSS0210,1b](../../../../../requirements/astm/f3548/v21.md)**, if the `manager` of the subscription fails to be taken into account (either because the primary DSS did not propagated it, or because the secondary failed to consider it);
134
+
**[astm.f3548.v21.DSS0005,5](../../../../../requirements/astm/f3548/v21.md)**, if the secondary DSS fails to properly implement the API to mutate subscriptions.
135
+
136
+
#### 🛑 Subscription returned by a secondary DSS is valid and correct check
137
+
138
+
When queried for a subscription that was created via another DSS, a DSS instance is expected to provide a valid subscription.
139
+
140
+
If it does not, it might be in violation of **[astm.f3548.v21.DSS0005,5](../../../../../requirements/astm/f3548/v21.md)**.
Verify that the subscription returned by the DSS is properly formatted and contains the correct content.
157
+
158
+
#### [Validate version is updated by mutation](../fragments/sub/validate/mutated.md)
159
+
160
+
Verify that the version of the subscription returned by the DSS the subscription was mutated through has been updated.
161
+
162
+
#### [Validate new version is synced](../fragments/sub/validate/non_mutated.md)
163
+
164
+
Verify that the new version of the subscription has been propagated.
165
+
166
+
### Delete subscription on primary test step
167
+
168
+
Attempt to delete the subscription that was created on the primary DSS through the primary DSS in various ways,
169
+
and ensure that the DSS reacts properly.
128
170
129
171
This also checks that the subscription data returned by a successful deletion is correct.
130
172
@@ -144,7 +186,33 @@ Verify that the version of the subscription returned by the DSS is as expected
144
186
145
187
Attempt to query and search for the deleted subscription in various ways
146
188
147
-
#### 🛑 Secondary DSS should not return the deleted subscription check
189
+
#### 🛑 DSS should not return the deleted subscription check
190
+
191
+
If a DSS returns a subscription that was previously successfully deleted from the primary DSS,
192
+
either one of the primary DSS or the DSS that returned the subscription is in violation of one of the following requirements:
193
+
194
+
**[astm.f3548.v21.DSS0210,1a](../../../../../requirements/astm/f3548/v21.md)**, if the API is not working as described by the OpenAPI specification;
195
+
**[astm.f3548.v21.DSS0215](../../../../../requirements/astm/f3548/v21.md)**, if the DSS through which the subscription was deleted is returning API calls to the client before having updated its underlying distributed storage.
196
+
197
+
As a result, the DSS pool under test is failing to meet **[astm.f3548.v21.DSS0020](../../../../../requirements/astm/f3548/v21.md)**.
198
+
199
+
### Delete subscriptions on secondaries test step
200
+
201
+
Attempt to delete subscriptions that were created through the primary DSS via the secondary DSS instances.
0 commit comments