use of com.yelp.nrtsearch.server.luceneserver.state.LegacyGlobalState in project nrtsearch by Yelp.
the class GlobalStateTest method testCreateLegacyGlobalState.
@Test
public void testCreateLegacyGlobalState() throws IOException {
String configFile = String.join("\n", "stateConfig:", " backendType: LEGACY");
LuceneServerConfiguration configuration = getConfig(configFile);
GlobalState globalState = GlobalState.createState(configuration);
assertTrue(globalState instanceof LegacyGlobalState);
}
Aggregations