Revert "Disable tests"

This reverts commit 3a6aabdf8e.
This commit is contained in:
Ryan Baxter
2023-11-02 10:36:41 -04:00
parent e23ffab088
commit 3939fb78b1
2 changed files with 4 additions and 8 deletions

View File

@@ -29,7 +29,6 @@ import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.testcontainers.containers.Container;
import org.testcontainers.k3s.K3sContainer;
@@ -62,7 +61,7 @@ class ActuatorRefreshIT {
private static Util util;
// @BeforeAll
@BeforeAll
static void beforeAll() throws Exception {
K3S.start();
Commons.validateImage(SPRING_CLOUD_K8S_CONFIG_WATCHER_APP_NAME, K3S);
@@ -73,7 +72,7 @@ class ActuatorRefreshIT {
configWatcher(Phase.CREATE);
}
// @AfterAll
@AfterAll
static void afterAll() throws Exception {
configWatcher(Phase.DELETE);
Commons.cleanUp(SPRING_CLOUD_K8S_CONFIG_WATCHER_APP_NAME, K3S);
@@ -99,7 +98,6 @@ class ActuatorRefreshIT {
*/
// curl <WIREMOCK_POD_IP>:8080/__admin/mappings
@Test
@Disabled
void testActuatorRefresh() {
WireMock.configureFor(WIREMOCK_HOST, WIREMOCK_PORT, WIREMOCK_PATH);

View File

@@ -34,7 +34,6 @@ import io.kubernetes.client.openapi.models.V1SecretBuilder;
import io.kubernetes.client.openapi.models.V1Service;
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.testcontainers.k3s.K3sContainer;
@@ -64,7 +63,7 @@ class ActuatorRefreshMultipleNamespacesIT {
private static Util util;
// @BeforeAll
@BeforeAll
static void beforeAll() throws Exception {
K3S.start();
Commons.validateImage(SPRING_CLOUD_K8S_CONFIG_WATCHER_APP_NAME, K3S);
@@ -77,7 +76,7 @@ class ActuatorRefreshMultipleNamespacesIT {
configWatcher(Phase.CREATE);
}
// @AfterAll
@AfterAll
static void afterAll() throws Exception {
configWatcher(Phase.DELETE);
util.wiremock(DEFAULT_NAMESPACE, "/", Phase.DELETE);
@@ -99,7 +98,6 @@ class ActuatorRefreshMultipleNamespacesIT {
* </pre>
*/
@Test
@Disabled
void testConfigMapActuatorRefreshMultipleNamespaces() {
WireMock.configureFor(WIREMOCK_HOST, WIREMOCK_PORT, WIREMOCK_PATH);
await().timeout(Duration.ofSeconds(60))