File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ Feature: Update ClusterExtension
363363 """
364364 And ClusterExtension is rolled out
365365 And ClusterExtension is available
366- And ClusterExtension "${NAME}" has 1 ClusterObjectSet
366+ And ClusterExtension "${NAME}" owns1 ClusterObjectSet
367367 And the current ClusterExtension is tracked for cleanup
368368 # Apply a second ClusterExtension pointing to the same package and version
369369 When ClusterExtension is applied
@@ -424,7 +424,7 @@ Feature: Update ClusterExtension
424424 matchLabels:
425425 "olm.operatorframework.io/metadata.name": ${CATALOG:test}
426426 """
427- Then ClusterExtension "${NAME}" has 2 ClusterObjectSets
427+ Then ClusterExtension "${NAME}" owns2 ClusterObjectSets
428428 # The higher-revision COS (revision 2) should also collide, not take over resources
429429 And ClusterExtension reports Progressing as True with Reason Retrying and Message includes:
430430 """
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ func RegisterSteps(sc *godog.ScenarioContext) {
184184 sc .Step (`^(?i)min value for (ClusterExtension|ClusterObjectSet) ((?:\.[a-zA-Z]+)+) is set to (\d+)$` , SetCRDFieldMinValue )
185185
186186 sc .Step (`^(?i)the current ClusterExtension is tracked for cleanup$` , TrackCurrentClusterExtensionForCleanup )
187- sc .Step (`^(?i)ClusterExtension "([^"]+)" has (\d+) ClusterObjectSets?$` , ClusterExtensionHasClusterObjectSets )
187+ sc .Step (`^(?i)ClusterExtension "([^"]+)" owns (\d+) ClusterObjectSets?$` , ClusterExtensionOwnsClusterObjectSets )
188188
189189 // TLS profile enforcement steps — deployment configuration
190190 sc .Step (`^(?i)the "([^"]+)" deployment is configured with custom TLS minimum version "([^"]+)"$` , ConfigureDeploymentWithCustomTLSVersion )
@@ -395,9 +395,9 @@ func TrackCurrentClusterExtensionForCleanup(ctx context.Context) error {
395395 return nil
396396}
397397
398- // ClusterExtensionHasClusterObjectSets waits for the named ClusterExtension to own exactly the
398+ // ClusterExtensionOwnsClusterObjectSets waits for the named ClusterExtension to own exactly the
399399// expected number of ClusterObjectSets. Polls with timeout.
400- func ClusterExtensionHasClusterObjectSets (ctx context.Context , extName string , expectedCount int ) error {
400+ func ClusterExtensionOwnsClusterObjectSets (ctx context.Context , extName string , expectedCount int ) error {
401401 sc := scenarioCtx (ctx )
402402 extName = substituteScenarioVars (extName , sc )
403403 waitFor (ctx , func () bool {
You can’t perform that action at this time.
0 commit comments