Temporarily disable tests for image building with bind caches

See gh-40760
This commit is contained in:
Andy Wilkinson
2024-05-16 17:22:02 +01:00
parent f24d4e4a06
commit feaccef3a4
2 changed files with 10 additions and 4 deletions

View File

@@ -25,6 +25,7 @@ import java.time.OffsetDateTime;
import java.util.Random;
import java.util.stream.IntStream;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.TestTemplate;
import org.junit.jupiter.api.condition.EnabledOnOs;
import org.junit.jupiter.api.condition.OS;
@@ -401,8 +402,10 @@ class BuildImageTests extends AbstractArchiveIntegrationTests {
}
@TestTemplate
@EnabledOnOs(value = OS.LINUX, disabledReason = "Works with Docker Engine on Linux but is not reliable with "
+ "Docker Desktop on other OSs")
@EnabledOnOs(value = OS.LINUX,
disabledReason = "Works with Docker Engine on Linux but is not reliable with "
+ "Docker Desktop on other OSs")
@Disabled("gh-40760")
void whenBuildImageIsInvokedWithBindCaches(MavenBuild mavenBuild) {
String testBuildId = randomString();
mavenBuild.project("build-image-bind-caches")