fix compile erors due to upstream changes in node stats

Original commit: elastic/x-pack-elasticsearch@a0a600cb68
This commit is contained in:
Martijn van Groningen 2016-03-10 13:22:59 +01:00
parent a033f95072
commit fbe0aefa0c
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ public class ClusterStatsResolverTests extends MonitoringIndexNameResolverTestCa
statsByShard.put(index, Collections.singletonList(new IndexShardStats(new ShardId(index, 0), randomShardStats()))); statsByShard.put(index, Collections.singletonList(new IndexShardStats(new ShardId(index, 0), randomShardStats())));
return new NodeStats(new DiscoveryNode("node_0", DummyTransportAddress.INSTANCE, Version.CURRENT), 0, return new NodeStats(new DiscoveryNode("node_0", DummyTransportAddress.INSTANCE, Version.CURRENT), 0,
new NodeIndicesStats(new CommonStats(), statsByShard), null, null, null, null, new NodeIndicesStats(new CommonStats(), statsByShard), null, null, null, null,
new FsInfo(0, pathInfo), null, null, null, null, null); new FsInfo(0, pathInfo), null, null, null, null, null, null);
} }
/** /**

View File

@ -136,6 +136,6 @@ public class NodeStatsResolverTests extends MonitoringIndexNameResolverTestCase<
new NodeIndicesStats(new CommonStats(), statsByShard), OsProbe.getInstance().osStats(), new NodeIndicesStats(new CommonStats(), statsByShard), OsProbe.getInstance().osStats(),
ProcessProbe.getInstance().processStats(), JvmStats.jvmStats(), ProcessProbe.getInstance().processStats(), JvmStats.jvmStats(),
new ThreadPoolStats(threadPoolStats), new ThreadPoolStats(threadPoolStats),
new FsInfo(0, pathInfo), null, null, null, null, null); new FsInfo(0, pathInfo), null, null, null, null, null, null);
} }
} }