Disable tests

This commit is contained in:
Ryan Baxter
2023-10-30 11:40:09 -04:00
parent 84128cddee
commit 3a6aabdf8e
2 changed files with 8 additions and 4 deletions

View File

@@ -29,6 +29,7 @@ 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;
@@ -61,7 +62,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);
@@ -72,7 +73,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);
@@ -98,6 +99,7 @@ class ActuatorRefreshIT {
*/
// curl <WIREMOCK_POD_IP>:8080/__admin/mappings
@Test
@Disabled
void testActuatorRefresh() {
WireMock.configureFor(WIREMOCK_HOST, WIREMOCK_PORT, WIREMOCK_PATH);

View File

@@ -34,6 +34,7 @@ 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;
@@ -63,7 +64,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);
@@ -76,7 +77,7 @@ class ActuatorRefreshMultipleNamespacesIT {
configWatcher(Phase.CREATE);
}
@AfterAll
// @AfterAll
static void afterAll() throws Exception {
configWatcher(Phase.DELETE);
util.wiremock(DEFAULT_NAMESPACE, "/", Phase.DELETE);
@@ -98,6 +99,7 @@ class ActuatorRefreshMultipleNamespacesIT {
* </pre>
*/
@Test
@Disabled
void testConfigMapActuatorRefreshMultipleNamespaces() {
WireMock.configureFor(WIREMOCK_HOST, WIREMOCK_PORT, WIREMOCK_PATH);
await().timeout(Duration.ofSeconds(60))