Class SkipInFIPSMode

java.lang.Object
org.elasticsearch.test.SkipInFIPSMode
All Implemented Interfaces:
org.junit.rules.TestRule

public class SkipInFIPSMode extends Object implements org.junit.rules.TestRule
A TestRule that skips respective tests when FIPS mode is enabled rather than the entire test configuration as typically done using the following Gradle snippet:
 tasks.named("javaRestTest") {
   buildParams.withFipsEnabledOnly(it)
 }
 
  • Constructor Details

    • SkipInFIPSMode

      public SkipInFIPSMode()
  • Method Details

    • apply

      public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
      Specified by:
      apply in interface org.junit.rules.TestRule