Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operator-framework-e2e: we should verify eventual consistency between catalog unpacking and operator resolution #482

Closed
joelanford opened this issue Oct 24, 2023 · 0 comments · Fixed by #503

Comments

@joelanford
Copy link
Member

In the follow code, we create a Catalog and wait for it to be unpacked before we create the Operator:

By("creating a Catalog CR and verifying the creation of respective packages and bundle metadata")
operatorCatalog, err = createCatalogCheckResources(operatorCatalog, catalogDInfo)
Expect(err).ToNot(HaveOccurred())

We should change this (and similar) tests in all e2es such that Catalog and Operator creation/update happens roughly simultaneously or in random orders (e.g. create/update Operator before creating/updating a Catalog).

If we make this change, the expectation is that everything continues to work as is (modulo some timeout tweaks, perhaps) because we have ostensibly built an eventually consistent set of controllers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant