Skip to content

Commit b52b071

Browse files
awgreeneperdasilva
authored andcommitted
Update Catalog e2e tests to use rawInterval
When creating a catalogSource with the versioned client used by OLM, the catalogSource.spec.updateStrategy.registryPoll.Interval field can sometimes be lost. This is particularly detrimental when the test creating the catalog uses a short poll duration in order to test functionality. Signed-off-by: Alexander Greene <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: 4802ae6bf5f3e1329aee6e1b2626107c94873f0c
1 parent 0c63798 commit b52b071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/operator-lifecycle-manager/test/e2e/catalog_e2e_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ var _ = Describe("Catalog represents a store of bundles which OLM can use to ins
10131013
Image: "quay.io/olmtest/catsrc-update-test:new",
10141014
UpdateStrategy: &v1alpha1.UpdateStrategy{
10151015
RegistryPoll: &v1alpha1.RegistryPoll{
1016-
Interval: &metav1.Duration{Duration: 45 * time.Second},
1016+
RawInterval: "45s",
10171017
},
10181018
},
10191019
},

0 commit comments

Comments
 (0)