Skip to content

Sync cache configuration across all tests #11742

@lentzi90

Description

@lentzi90

After #10681, the test environment now has a cache that can be configured to act similar to how it is done in the real world. We should sync this test environment configuration to how the controllers are synced. That way, the tests will be able to pick up issues where an object isn't cached for some reason (e.g. missing labels).

In practice, we likely only have to check all usages of envtest.Run.

Metadata

Metadata

Assignees

Labels

help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions