mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Temporarily disable tests for image building with bind caches
See gh-40760
This commit is contained in:
parent
f24d4e4a06
commit
feaccef3a4
@ -36,6 +36,7 @@ import org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream;
|
|||||||
import org.apache.commons.compress.utils.IOUtils;
|
import org.apache.commons.compress.utils.IOUtils;
|
||||||
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.Disabled;
|
||||||
import org.junit.jupiter.api.TestTemplate;
|
import org.junit.jupiter.api.TestTemplate;
|
||||||
import org.junit.jupiter.api.condition.EnabledOnOs;
|
import org.junit.jupiter.api.condition.EnabledOnOs;
|
||||||
import org.junit.jupiter.api.condition.OS;
|
import org.junit.jupiter.api.condition.OS;
|
||||||
@ -300,8 +301,10 @@ class BootBuildImageIntegrationTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@TestTemplate
|
@TestTemplate
|
||||||
@EnabledOnOs(value = OS.LINUX, disabledReason = "Works with Docker Engine on Linux but is not reliable with "
|
@EnabledOnOs(value = OS.LINUX,
|
||||||
|
disabledReason = "Works with Docker Engine on Linux but is not reliable with "
|
||||||
+ "Docker Desktop on other OSs")
|
+ "Docker Desktop on other OSs")
|
||||||
|
@Disabled("gh-40760")
|
||||||
void buildsImageWithBindCaches() throws IOException {
|
void buildsImageWithBindCaches() throws IOException {
|
||||||
writeMainClass();
|
writeMainClass();
|
||||||
writeLongNameResource();
|
writeLongNameResource();
|
||||||
|
@ -25,6 +25,7 @@ import java.time.OffsetDateTime;
|
|||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
import java.util.stream.IntStream;
|
import java.util.stream.IntStream;
|
||||||
|
|
||||||
|
import org.junit.jupiter.api.Disabled;
|
||||||
import org.junit.jupiter.api.TestTemplate;
|
import org.junit.jupiter.api.TestTemplate;
|
||||||
import org.junit.jupiter.api.condition.EnabledOnOs;
|
import org.junit.jupiter.api.condition.EnabledOnOs;
|
||||||
import org.junit.jupiter.api.condition.OS;
|
import org.junit.jupiter.api.condition.OS;
|
||||||
@ -401,8 +402,10 @@ class BuildImageTests extends AbstractArchiveIntegrationTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@TestTemplate
|
@TestTemplate
|
||||||
@EnabledOnOs(value = OS.LINUX, disabledReason = "Works with Docker Engine on Linux but is not reliable with "
|
@EnabledOnOs(value = OS.LINUX,
|
||||||
|
disabledReason = "Works with Docker Engine on Linux but is not reliable with "
|
||||||
+ "Docker Desktop on other OSs")
|
+ "Docker Desktop on other OSs")
|
||||||
|
@Disabled("gh-40760")
|
||||||
void whenBuildImageIsInvokedWithBindCaches(MavenBuild mavenBuild) {
|
void whenBuildImageIsInvokedWithBindCaches(MavenBuild mavenBuild) {
|
||||||
String testBuildId = randomString();
|
String testBuildId = randomString();
|
||||||
mavenBuild.project("build-image-bind-caches")
|
mavenBuild.project("build-image-bind-caches")
|
||||||
|
Loading…
Reference in New Issue
Block a user