diff --git a/plugin/src/test/java/org/elasticsearch/xpack/monitoring/integration/MonitoringIT.java b/plugin/src/test/java/org/elasticsearch/xpack/monitoring/integration/MonitoringIT.java index a85f34eb00a..8f35a0bde4a 100644 --- a/plugin/src/test/java/org/elasticsearch/xpack/monitoring/integration/MonitoringIT.java +++ b/plugin/src/test/java/org/elasticsearch/xpack/monitoring/integration/MonitoringIT.java @@ -410,7 +410,7 @@ public class MonitoringIT extends ESRestTestCase { assertEquals(5, source.size()); final Map nodeStats = (Map) source.get(NodeStatsMonitoringDoc.TYPE); - assertEquals(9, nodeStats.size()); + assertEquals(Constants.WINDOWS ? 8 : 9, nodeStats.size()); NodeStatsMonitoringDoc.XCONTENT_FILTERS.forEach(filter -> { if (Constants.WINDOWS && filter.startsWith("node_stats.os.cpu.load_average")) {