[Test] mute testNodeStatsCollector on windows

See elastic/elasticsearch#368

Original commit: elastic/x-pack-elasticsearch@ca16052340
This commit is contained in:
jaymode 2015-07-30 15:52:21 -04:00
parent 4b779b6fd6
commit 4e9b7581b2
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
*/ */
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;
@ -26,6 +27,7 @@ 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);