From 9c0444145ed5fb6648a3099b4959fc699b37218a Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Thu, 24 Sep 2020 15:21:23 -0700 Subject: [PATCH] Avoid bundled jdk test on legacy platforms This commit skips a test of bundled jdk behavior on legacy platforms that can't run the bundled jdk. --- .../test/java/org/elasticsearch/packaging/test/ArchiveTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/qa/os/src/test/java/org/elasticsearch/packaging/test/ArchiveTests.java b/qa/os/src/test/java/org/elasticsearch/packaging/test/ArchiveTests.java index 786bce6d471..34b9bc87664 100644 --- a/qa/os/src/test/java/org/elasticsearch/packaging/test/ArchiveTests.java +++ b/qa/os/src/test/java/org/elasticsearch/packaging/test/ArchiveTests.java @@ -72,6 +72,7 @@ public class ArchiveTests extends PackagingTestCase { } public void test30MissingBundledJdk() throws Exception { + assumeTrue(Platforms.IS_BUNDLED_JDK_SUPPORTED); final Installation.Executables bin = installation.executables(); sh.getEnv().remove("JAVA_HOME");