Remove unnecessary assertion from test

closes elastic/elasticsearch#368

Original commit: elastic/x-pack-elasticsearch@3076c87509
This commit is contained in:
Tanguy Leroux 2015-07-31 13:24:42 +02:00
parent b1f7724790
commit ed6f38b3b0
1 changed files with 0 additions and 3 deletions

View File

@ -5,7 +5,6 @@
*/ */
package org.elasticsearch.marvel.agent.collector.node; package org.elasticsearch.marvel.agent.collector.node;
import org.apache.lucene.util.Constants;
import org.elasticsearch.bootstrap.Bootstrap; import org.elasticsearch.bootstrap.Bootstrap;
import org.elasticsearch.cluster.ClusterName; import org.elasticsearch.cluster.ClusterName;
import org.elasticsearch.cluster.ClusterService; import org.elasticsearch.cluster.ClusterService;
@ -27,7 +26,6 @@ public class NodeStatsCollectorTests extends ElasticsearchIntegrationTest {
@Test @Test
public void testNodeStatsCollector() throws Exception { 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(); String[] nodes = internalCluster().getNodeNames();
for (String node : nodes) { for (String node : nodes) {
logger.info("--> collecting node stats on node [{}]", node); logger.info("--> collecting node stats on node [{}]", node);
@ -52,7 +50,6 @@ public class NodeStatsCollectorTests extends ElasticsearchIntegrationTest {
assertNotNull(payload.getDiskThresholdWaterMarkHigh()); assertNotNull(payload.getDiskThresholdWaterMarkHigh());
assertNotNull(payload.getNodeStats()); assertNotNull(payload.getNodeStats());
assertThat(payload.getNodeStats().getProcess().getOpenFileDescriptors(), greaterThan(0L));
} }
} }