Package org.elasticsearch.bootstrap
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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
ensureInitialized()
-