Skip to content

Commit 3a6aabd

Browse files
committed
Disable tests
1 parent 84128cd commit 3a6aabd

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

spring-cloud-kubernetes-integration-tests/spring-cloud-kubernetes-k8s-client-configuration-watcher/src/test/java/org/springframework/cloud/kubernetes/configuration/watcher/ActuatorRefreshIT.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import org.junit.jupiter.api.Assertions;
3030
import org.junit.jupiter.api.BeforeAll;
3131
import org.junit.jupiter.api.BeforeEach;
32+
import org.junit.jupiter.api.Disabled;
3233
import org.junit.jupiter.api.Test;
3334
import org.testcontainers.containers.Container;
3435
import org.testcontainers.k3s.K3sContainer;
@@ -61,7 +62,7 @@ class ActuatorRefreshIT {
6162

6263
private static Util util;
6364

64-
@BeforeAll
65+
// @BeforeAll
6566
static void beforeAll() throws Exception {
6667
K3S.start();
6768
Commons.validateImage(SPRING_CLOUD_K8S_CONFIG_WATCHER_APP_NAME, K3S);
@@ -72,7 +73,7 @@ static void beforeAll() throws Exception {
7273
configWatcher(Phase.CREATE);
7374
}
7475

75-
@AfterAll
76+
// @AfterAll
7677
static void afterAll() throws Exception {
7778
configWatcher(Phase.DELETE);
7879
Commons.cleanUp(SPRING_CLOUD_K8S_CONFIG_WATCHER_APP_NAME, K3S);
@@ -98,6 +99,7 @@ void after() {
9899
*/
99100
// curl <WIREMOCK_POD_IP>:8080/__admin/mappings
100101
@Test
102+
@Disabled
101103
void testActuatorRefresh() {
102104

103105
WireMock.configureFor(WIREMOCK_HOST, WIREMOCK_PORT, WIREMOCK_PATH);

spring-cloud-kubernetes-integration-tests/spring-cloud-kubernetes-k8s-client-configuration-watcher/src/test/java/org/springframework/cloud/kubernetes/configuration/watcher/ActuatorRefreshMultipleNamespacesIT.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
import io.kubernetes.client.openapi.models.V1Service;
3535
import org.junit.jupiter.api.AfterAll;
3636
import org.junit.jupiter.api.BeforeAll;
37+
import org.junit.jupiter.api.Disabled;
3738
import org.junit.jupiter.api.Test;
3839
import org.testcontainers.k3s.K3sContainer;
3940

@@ -63,7 +64,7 @@ class ActuatorRefreshMultipleNamespacesIT {
6364

6465
private static Util util;
6566

66-
@BeforeAll
67+
// @BeforeAll
6768
static void beforeAll() throws Exception {
6869
K3S.start();
6970
Commons.validateImage(SPRING_CLOUD_K8S_CONFIG_WATCHER_APP_NAME, K3S);
@@ -76,7 +77,7 @@ static void beforeAll() throws Exception {
7677
configWatcher(Phase.CREATE);
7778
}
7879

79-
@AfterAll
80+
// @AfterAll
8081
static void afterAll() throws Exception {
8182
configWatcher(Phase.DELETE);
8283
util.wiremock(DEFAULT_NAMESPACE, "/", Phase.DELETE);
@@ -98,6 +99,7 @@ static void afterAll() throws Exception {
9899
* </pre>
99100
*/
100101
@Test
102+
@Disabled
101103
void testConfigMapActuatorRefreshMultipleNamespaces() {
102104
WireMock.configureFor(WIREMOCK_HOST, WIREMOCK_PORT, WIREMOCK_PATH);
103105
await().timeout(Duration.ofSeconds(60))

0 commit comments

Comments
 (0)