Package org.opensearch.env
Class TestEnvironment
java.lang.Object
org.opensearch.env.TestEnvironment
Provides a convenience method for tests to construct an Environment when the config path does not matter.
This is in the test framework to force people who construct an Environment in production code to think
about what the config path needs to be set to.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.opensearch.env.Environment
newEnvironment
(org.opensearch.common.settings.Settings settings)
-
Method Details
-
newEnvironment
public static org.opensearch.env.Environment newEnvironment(org.opensearch.common.settings.Settings settings)
-