Fix compilation issue introduced by seq. no merge
This commit fixes a compilation issue introduced by the merge of sequence numbers branch into master. This merge introduced a new constructor parameter for ShardStats. Original commit: elastic/x-pack-elasticsearch@b234b8ee50
This commit is contained in:
parent
260a51fabe
commit
5426a86ba0
|
@ -150,7 +150,11 @@ public class ClusterStatsResolverTests extends MonitoringIndexNameResolverTestCa
|
|||
shardCommonStats.fieldData = new FieldDataStats();
|
||||
shardCommonStats.queryCache = new QueryCacheStats();
|
||||
return new ShardStats[]{
|
||||
new ShardStats(shardRouting, new ShardPath(false, shardPath, shardPath, new ShardId(index, 0)), shardCommonStats, null)
|
||||
};
|
||||
new ShardStats(
|
||||
shardRouting,
|
||||
new ShardPath(false, shardPath, shardPath, new ShardId(index, 0)),
|
||||
shardCommonStats,
|
||||
null,
|
||||
null)};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -97,7 +97,7 @@ public class IndexStatsResolverTests extends MonitoringIndexNameResolverTestCase
|
|||
stats.segments = new SegmentsStats();
|
||||
stats.merge = new MergeStats();
|
||||
stats.refresh = new RefreshStats();
|
||||
ShardStats shardStats = new ShardStats(shardRouting, new ShardPath(false, path, path, shardId), stats, null);
|
||||
ShardStats shardStats = new ShardStats(shardRouting, new ShardPath(false, path, path, shardId), stats, null, null);
|
||||
return new IndexStats(index.getName(), new ShardStats[]{shardStats});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -98,7 +98,7 @@ public class IndicesStatsResolverTests extends MonitoringIndexNameResolverTestCa
|
|||
stats.segments = new SegmentsStats();
|
||||
stats.merge = new MergeStats();
|
||||
stats.refresh = new RefreshStats();
|
||||
shardStats.add(new ShardStats(shardRouting, new ShardPath(false, path, path, shardId), stats, null));
|
||||
shardStats.add(new ShardStats(shardRouting, new ShardPath(false, path, path, shardId), stats, null, null));
|
||||
}
|
||||
return IndicesStatsResponseTestUtils.newIndicesStatsResponse(shardStats.toArray(new ShardStats[shardStats.size()]),
|
||||
shardStats.size(), shardStats.size(), 0, emptyList());
|
||||
|
|
|
@ -134,7 +134,7 @@ public class NodeStatsResolverTests extends MonitoringIndexNameResolverTestCase<
|
|||
stats.indexing = new IndexingStats();
|
||||
stats.search = new SearchStats();
|
||||
stats.segments = new SegmentsStats();
|
||||
ShardStats shardStats = new ShardStats(shardRouting, new ShardPath(false, path, path, shardId), stats, null);
|
||||
ShardStats shardStats = new ShardStats(shardRouting, new ShardPath(false, path, path, shardId), stats, null, null);
|
||||
FsInfo.Path[] pathInfo = new FsInfo.Path[]{
|
||||
new FsInfo.Path("/test", "/dev/sda", 10, -8, 0),
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue