Skip to content

Commit 4802ae6

Browse files
awgreenetimflannagan
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]>
1 parent 23d80f3 commit 4802ae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/catalog_e2e_test.go

+1-1
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)