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

Parallel PolicyServer controller test execution and clean-up #792

Open
2 tasks
fabriziosestito opened this issue Jul 2, 2024 · 0 comments
Open
2 tasks

Comments

@fabriziosestito
Copy link
Contributor

fabriziosestito commented Jul 2, 2024

Is your feature request related to a problem?

At the moment we run the policy controllers test in parallel (on a real cluster)
However, running the envtest integration tests of the PolicyServer results in failures.
We would like to run these tests in parallel, refactoring what is needed to comply with idiomatic ginkgo.

Also, it would be nice to:

  • check if this helper:

    func createPolicyServerAndWaitForItsService(policyServer *policiesv1.PolicyServer) {
    is needed everywhere

  • By switching to a client created in the test suite and by not using the manager client (which is wrong, since this client is using the cache now) we are getting empty GroupVersionKind when fetching PolicyServer resources. This causes certain assertions to fail. The assertions are marked by a FIXME comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant