Skip to content

Commit ce6ae09

Browse files
authored
[6.8] Mute CertificateGenerateToolTest.testGeneratingSignedCertificates() on Java 8 (#73586)
This issue is tracked in #72639 which suffers the same JDK bug as #72359. This commit backport the mute 9a655b5 to 6.8
1 parent 6545e3b commit ce6ae09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

x-pack/plugin/security/cli/src/test/java/org/elasticsearch/xpack/security/cli/CertificateGenerateToolTests.java

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import com.google.common.jimfs.Configuration;
99
import com.google.common.jimfs.Jimfs;
1010
import org.bouncycastle.asn1.DLTaggedObject;
11+
import org.elasticsearch.bootstrap.JavaVersion;
1112
import org.elasticsearch.core.internal.io.IOUtils;
1213
import org.bouncycastle.asn1.ASN1ObjectIdentifier;
1314
import org.bouncycastle.asn1.ASN1Sequence;
@@ -263,6 +264,8 @@ public void testGeneratingCsr() throws Exception {
263264
}
264265

265266
public void testGeneratingSignedCertificates() throws Exception {
267+
assumeFalse("JDK bug JDK-8266279, https://github.com/elastic/elasticsearch/issues/72639",
268+
JavaVersion.current().compareTo(JavaVersion.parse("8")) == 0);
266269
Path tempDir = initTempDir();
267270
Path outputFile = tempDir.resolve("out.zip");
268271
Path instanceFile = writeInstancesTo(tempDir.resolve("instances.yml"));

0 commit comments

Comments
 (0)