Skip to content

Commit

Permalink
Mute flaky security tests (#73537)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamrandolph committed May 28, 2021
1 parent 14f3273 commit 6545e3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -9,6 +9,7 @@
import org.apache.lucene.store.IOContext;
import org.apache.lucene.store.IndexOutput;
import org.apache.lucene.store.SimpleFSDirectory;
import org.elasticsearch.bootstrap.JavaVersion;
import org.elasticsearch.common.settings.KeyStoreWrapper;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.env.Environment;
Expand All @@ -27,6 +28,8 @@
public class FIPS140SecureSettingsBootstrapCheckTests extends AbstractBootstrapCheckTestCase {

public void testLegacySecureSettingsIsNotAllowed() throws Exception {
assumeFalse("JDK bug JDK-8266279, https://github.com/elastic/elasticsearch/issues/68995",
JavaVersion.current().compareTo(JavaVersion.parse("8")) == 0);
assumeFalse("Can't run in a FIPS JVM, PBE is not available", inFipsJvm());
final Settings.Builder builder = Settings.builder()
.put("path.home", createTempDir())
Expand Down
Expand Up @@ -8,6 +8,7 @@
import joptsimple.OptionSet;

import org.elasticsearch.ExceptionsHelper;
import org.elasticsearch.bootstrap.JavaVersion;
import org.elasticsearch.cli.MockTerminal;
import org.elasticsearch.cli.UserException;
import org.elasticsearch.common.collect.Tuple;
Expand Down Expand Up @@ -550,6 +551,8 @@ public void testSigningMetadataWithPasswordProtectedPemInTerminal() throws Excep
}

public void testDefaultOptionsWithSigningAndMultipleEncryptionKeys() throws Exception {
assumeFalse("JDK bug JDK-8266279, https://github.com/elastic/elasticsearch/issues/68995",
JavaVersion.current().compareTo(JavaVersion.parse("8")) == 0);
final Path dir = createTempDir();

final Path ksEncryptionFile = dir.resolve("saml-encryption.p12");
Expand Down

0 comments on commit 6545e3b

Please sign in to comment.