assert (pluginEnvironment.getPluginName().equals(PLUGIN_NAME));
}
@Test(dependsOnMethods = "pluginLoad", enabled = DiscoveryAndConfigurationTest.ENABLED)
public void discoverResources() throws Exception {
InventoryReport report = PluginContainer.getInstance().getInventoryManager().executeServerScanImmediately();
Assert.assertNotNull(report);
log.info("Discovery took: " + (report.getEndTime() - report.getStartTime()) + "ms");
Thread.sleep(4000);
report = PluginContainer.getInstance().getInventoryManager().executeServiceScanImmediately();
Assert.assertNotNull(report);
log.info("Discovery took: " + (report.getEndTime() - report.getStartTime()) + "ms");
Set<String> ignoredResourceTypes = new HashSet<String>();
ignoredResourceTypes.add("Cassandra Server JVM");
Set<String> ignoredResourceNames = new HashSet<String>();