From d719303a13b7250ce0c592a44760f9fc71c738b0 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Wed, 27 Nov 2024 08:19:58 -0500 Subject: [PATCH] Revert "Disabled PollingReload tests" This reverts commit 603f339dcd98809f5e900a3e996be55be4b7d7fb. --- .../client/config/reload_it/PollingReloadConfigMapTest.java | 2 -- .../client/config/reload_it/PollingReloadSecretTest.java | 2 -- .../fabric8/config/reload_it/PollingReloadConfigMapTest.java | 2 -- .../fabric8/config/reload_it/PollingReloadSecretTest.java | 2 -- 4 files changed, 8 deletions(-) diff --git a/spring-cloud-kubernetes-client-config/src/test/java/org/springframework/cloud/kubernetes/client/config/reload_it/PollingReloadConfigMapTest.java b/spring-cloud-kubernetes-client-config/src/test/java/org/springframework/cloud/kubernetes/client/config/reload_it/PollingReloadConfigMapTest.java index 3ca7d8972..2fd0b3f65 100644 --- a/spring-cloud-kubernetes-client-config/src/test/java/org/springframework/cloud/kubernetes/client/config/reload_it/PollingReloadConfigMapTest.java +++ b/spring-cloud-kubernetes-client-config/src/test/java/org/springframework/cloud/kubernetes/client/config/reload_it/PollingReloadConfigMapTest.java @@ -34,7 +34,6 @@ import org.awaitility.Awaitility; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; @@ -133,7 +132,6 @@ static void after() { * - second polling cycle reads sources from k8s and finds a change * */ - @Disabled @Test void test(CapturedOutput output) { // we fail while reading 'configMapOne' diff --git a/spring-cloud-kubernetes-client-config/src/test/java/org/springframework/cloud/kubernetes/client/config/reload_it/PollingReloadSecretTest.java b/spring-cloud-kubernetes-client-config/src/test/java/org/springframework/cloud/kubernetes/client/config/reload_it/PollingReloadSecretTest.java index 7eb482ac2..a9b3b9b40 100644 --- a/spring-cloud-kubernetes-client-config/src/test/java/org/springframework/cloud/kubernetes/client/config/reload_it/PollingReloadSecretTest.java +++ b/spring-cloud-kubernetes-client-config/src/test/java/org/springframework/cloud/kubernetes/client/config/reload_it/PollingReloadSecretTest.java @@ -36,7 +36,6 @@ import org.awaitility.Awaitility; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; @@ -134,7 +133,6 @@ static void after() { * - second polling cycle reads sources from k8s and finds a change * */ - @Disabled @Test void test(CapturedOutput output) { // we fail while reading 'secretOne' diff --git a/spring-cloud-kubernetes-fabric8-config/src/test/java/org/springframework/cloud/kubernetes/fabric8/config/reload_it/PollingReloadConfigMapTest.java b/spring-cloud-kubernetes-fabric8-config/src/test/java/org/springframework/cloud/kubernetes/fabric8/config/reload_it/PollingReloadConfigMapTest.java index 899d86443..0f980577f 100644 --- a/spring-cloud-kubernetes-fabric8-config/src/test/java/org/springframework/cloud/kubernetes/fabric8/config/reload_it/PollingReloadConfigMapTest.java +++ b/spring-cloud-kubernetes-fabric8-config/src/test/java/org/springframework/cloud/kubernetes/fabric8/config/reload_it/PollingReloadConfigMapTest.java @@ -29,7 +29,6 @@ import io.fabric8.kubernetes.client.server.mock.KubernetesMockServer; import org.awaitility.Awaitility; import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; @@ -106,7 +105,6 @@ static void beforeAll() { * - second polling cycle reads sources from k8s and finds a change * */ - @Disabled @Test void test(CapturedOutput output) { // we fail while reading 'configMapOne' diff --git a/spring-cloud-kubernetes-fabric8-config/src/test/java/org/springframework/cloud/kubernetes/fabric8/config/reload_it/PollingReloadSecretTest.java b/spring-cloud-kubernetes-fabric8-config/src/test/java/org/springframework/cloud/kubernetes/fabric8/config/reload_it/PollingReloadSecretTest.java index 355a8b150..4c100084e 100644 --- a/spring-cloud-kubernetes-fabric8-config/src/test/java/org/springframework/cloud/kubernetes/fabric8/config/reload_it/PollingReloadSecretTest.java +++ b/spring-cloud-kubernetes-fabric8-config/src/test/java/org/springframework/cloud/kubernetes/fabric8/config/reload_it/PollingReloadSecretTest.java @@ -31,7 +31,6 @@ import io.fabric8.kubernetes.client.server.mock.KubernetesMockServer; import org.awaitility.Awaitility; import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; @@ -109,7 +108,6 @@ static void beforeAll() { * - second polling cycle reads sources from k8s and finds a change * */ - @Disabled @Test void test(CapturedOutput output) { // we fail while reading 'secretOne'