Annotation Interface OpenSearchTestCase.LockFeatureFlag

Enclosing class:
OpenSearchTestCase

@Retention(RUNTIME) @Target(METHOD) public static @interface OpenSearchTestCase.LockFeatureFlag
Define LockFeatureFlag annotation for unit tests. Enables and make a flag immutable for the duration of the test case. Flag returned to previous value on test exit. Usage: LockFeatureFlag("example.featureflag.setting.key.enabled")
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details