Disable docker registry integration tests

A docker registry running in testcontainers behaves
differently in CI vs running locally. Disabling the tests for
now while working on getting them running reliably in CI.

See gh-21001
pull/23628/head
Scott Frederick 4 years ago
parent 09b627d232
commit 91acd957b2

@ -25,6 +25,7 @@ import java.time.Duration;
import org.gradle.testkit.runner.BuildResult; import org.gradle.testkit.runner.BuildResult;
import org.gradle.testkit.runner.TaskOutcome; import org.gradle.testkit.runner.TaskOutcome;
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.TestTemplate; import org.junit.jupiter.api.TestTemplate;
import org.testcontainers.containers.GenericContainer; import org.testcontainers.containers.GenericContainer;
import org.testcontainers.junit.jupiter.Container; import org.testcontainers.junit.jupiter.Container;
@ -46,6 +47,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*/ */
@GradleCompatibility @GradleCompatibility
@Testcontainers(disabledWithoutDocker = true) @Testcontainers(disabledWithoutDocker = true)
@Disabled("Disabled until differences between running locally and in CI can be diagnosed")
public class BootBuildImageRegistryIntegrationTests { public class BootBuildImageRegistryIntegrationTests {
@Container @Container

@ -20,6 +20,7 @@ import java.time.Duration;
import com.github.dockerjava.api.DockerClient; import com.github.dockerjava.api.DockerClient;
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.TestTemplate; import org.junit.jupiter.api.TestTemplate;
import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.api.extension.ExtendWith;
import org.testcontainers.containers.GenericContainer; import org.testcontainers.containers.GenericContainer;
@ -40,6 +41,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*/ */
@ExtendWith(MavenBuildExtension.class) @ExtendWith(MavenBuildExtension.class)
@Testcontainers(disabledWithoutDocker = true) @Testcontainers(disabledWithoutDocker = true)
@Disabled("Disabled until differences between running locally and in CI can be diagnosed")
public class BuildImageRegistryIntegrationTests extends AbstractArchiveIntegrationTests { public class BuildImageRegistryIntegrationTests extends AbstractArchiveIntegrationTests {
@Container @Container

Loading…
Cancel
Save