Implement e2e controller tests for the multi-version sample used in the docs #3878
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
Description
See that we have the tutorial: https://book.kubebuilder.io/multiversion-tutorial/tutorial
All code used in this tutorial came from the sample in: https://github.com/kubernetes-sigs/kubebuilder/tree/master/docs/book/src/multiversion-tutorial/testdata/project
This sample is tested via the unit-test when we push a PR with changes.
Then, note that currently the EnvTest tests to test the reconciliation is commented:
https://github.com/kubernetes-sigs/kubebuilder/blob/master/docs/book/src/multiversion-tutorial/testdata/project/internal/controller/cronjob_controller_test.go#L87-L102
If we uncomment this line we will check in the CI/or when we run
make tests
for this project the following error:Example: https://github.com/kubernetes-sigs/kubebuilder/actions/runs/8844368662/job/24286141139#step:5:474
What we need to do:
Extra Labels
No response
The text was updated successfully, but these errors were encountered: