use of org.apache.druid.discovery.DataNodeService in project druid by druid-io.
the class StorageNodeModuleTest method getDataNodeServiceWithSegmentCacheNotConfiguredIsInjectedAndDiscoverable.
@Test
public void getDataNodeServiceWithSegmentCacheNotConfiguredIsInjectedAndDiscoverable() {
mockSegmentCacheNotConfigured();
DataNodeService dataNodeService = injector.getInstance(DataNodeService.class);
Assert.assertNotNull(dataNodeService);
Assert.assertFalse(dataNodeService.isDiscoverable());
}
Aggregations