Remove unnecessary assertion from test
closes elastic/elasticsearch#368 Original commit: elastic/x-pack-elasticsearch@3076c87509
This commit is contained in:
parent
b1f7724790
commit
ed6f38b3b0
|
@ -5,7 +5,6 @@
|
|||
*/
|
||||
package org.elasticsearch.marvel.agent.collector.node;
|
||||
|
||||
import org.apache.lucene.util.Constants;
|
||||
import org.elasticsearch.bootstrap.Bootstrap;
|
||||
import org.elasticsearch.cluster.ClusterName;
|
||||
import org.elasticsearch.cluster.ClusterService;
|
||||
|
@ -27,7 +26,6 @@ public class NodeStatsCollectorTests extends ElasticsearchIntegrationTest {
|
|||
|
||||
@Test
|
||||
public void testNodeStatsCollector() throws Exception {
|
||||
assumeFalse("test is muted on Windows. See https://github.com/elastic/x-plugins/issues/368", Constants.WINDOWS);
|
||||
String[] nodes = internalCluster().getNodeNames();
|
||||
for (String node : nodes) {
|
||||
logger.info("--> collecting node stats on node [{}]", node);
|
||||
|
@ -52,7 +50,6 @@ public class NodeStatsCollectorTests extends ElasticsearchIntegrationTest {
|
|||
assertNotNull(payload.getDiskThresholdWaterMarkHigh());
|
||||
|
||||
assertNotNull(payload.getNodeStats());
|
||||
assertThat(payload.getNodeStats().getProcess().getOpenFileDescriptors(), greaterThan(0L));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue