}
@Test
public void test_default_settings() throws Exception {
File homeDir = temp.newFolder();
Props props = new Props(new Properties());
props.set(ProcessConstants.SEARCH_PORT, "1234");
props.set(ProcessConstants.PATH_HOME, homeDir.getAbsolutePath());
props.set(ProcessConstants.CLUSTER_NAME, "tests");
props.set(ProcessConstants.CLUSTER_NODE_NAME, "test");
SearchSettings searchSettings = new SearchSettings(props);
assertThat(searchSettings.inCluster()).isFalse();
assertThat(searchSettings.clusterName()).isEqualTo("tests");
assertThat(searchSettings.tcpPort()).isEqualTo(1234);