You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tests run on JUnit 4 through the vintage engine, with system-rules' EnvironmentVariables, which needs --add-opens on Java 17 and later.
JUnit 4 support is deprecated in Spring Framework 7 (Spring Boot 4).
How
Move the unit and integration tests to JUnit Jupiter (@ExtendWith, @BeforeEach, assertions), e.g. with the OpenRewrite JUnit 4 -> 5 recipe,
reviewed by hand.
Replace EnvironmentVariables: let KubernetesObjectsSupplier read the
ConfigMap settings through an injectable lookup (or Spring properties)
instead of System.getenv, keeping the variables CONFIGMAP, CONFIGMAPNAMESPACE, CONFIGMAPKEY; drop system-rules, the vintage
engine and the --add-opens of the Surefire argLine.
Development docs updated.
Acceptance criteria
No JUnit 4, vintage engine or system-rules in the build; same number of
tests; coverage not lower.
Activity