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

Use envtest framework in tests requiring a k8s apiserver #540

Closed
1 task done
randmonkey opened this issue Sep 2, 2024 · 1 comment · Fixed by #573
Closed
1 task done

Use envtest framework in tests requiring a k8s apiserver #540

randmonkey opened this issue Sep 2, 2024 · 1 comment · Fixed by #573
Milestone

Comments

@randmonkey
Copy link
Contributor

randmonkey commented Sep 2, 2024

Problem Statement

Some reconcilers requires to build indices, so they cannot start without a real k8s APIserver. To effectively test them, we need to import envtest framework to provide a k8s server for running the reconciler.

Proposed Solution

Import envtest framework and add tests for the reconcilers requiring k8s APIserver in either:

  • Unit tests
  • Standalone "envtest" tests
    ...

Additional Information

...

Acceptance Criteria

  • Reconcilers requiring a k8s APIserver can be effectively tested
@randmonkey randmonkey added this to the KGO v1.4.x milestone Sep 2, 2024
@randmonkey
Copy link
Contributor Author

dependent on #447.

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

Successfully merging a pull request may close this issue.

1 participant