Class BootstrapForTesting

java.lang.Object
org.elasticsearch.bootstrap.BootstrapForTesting

public class BootstrapForTesting
extends java.lang.Object
Initializes natives and installs test security manager (init'd early by base classes to ensure it happens regardless of which test case happens to be first, test ordering, etc).

The idea is to mimic as much as possible what happens with ES in production mode (e.g. assign permissions and install security manager the same way)

  • Constructor Summary

    Constructors
    Constructor Description
    BootstrapForTesting()  
  • Method Summary

    Modifier and Type Method Description
    static void ensureInitialized()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BootstrapForTesting

      public BootstrapForTesting()
  • Method Details

    • ensureInitialized

      public static void ensureInitialized()