Disable autoconfiguration that is not needed for tests

This commit is contained in:
Ryan Baxter
2021-09-16 12:11:21 -04:00
parent c20d533a6c
commit 02de4ec270

View File

@@ -37,7 +37,8 @@ public class KubernetesClientBootstrapConfigurationTests {
}
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = Application.class,
properties = "spring.cloud.kubernetes.enabled=false")
properties = { "spring.cloud.kubernetes.enabled=false", "kubernetes.informer.enabled=false",
"kubernetes.manifests.enabled=false" })
@Nested
class KubernetesDisabled {