fixed compile error

Original commit: elastic/x-pack-elasticsearch@73d853b077
This commit is contained in:
Martijn van Groningen 2015-09-10 17:35:49 +02:00
parent 27f5265560
commit cdc3a142e5
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ public class IndexStatsRendererTests extends ESTestCase {
CommonStats stats = new CommonStats(); CommonStats stats = new CommonStats();
stats.docs = new DocsStats(345678L, 123L); stats.docs = new DocsStats(345678L, 123L);
stats.store = new StoreStats(5761573L, 0L); stats.store = new StoreStats(5761573L, 0L);
stats.indexing = new IndexingStats(new IndexingStats.Stats(3L, 71L, 0L, 0L, 0L, 0L, 0L, true, 302L), null); stats.indexing = new IndexingStats(new IndexingStats.Stats(3L, 71L, 0L, 0L, 0L, 0L, 0L, 0L, true, 302L), null);
stats.search = new SearchStats(new SearchStats.Stats(1L, 7L, 0L, 0L, 0L, 0L, 0L, 0L, 0L), 0L, null); stats.search = new SearchStats(new SearchStats.Stats(1L, 7L, 0L, 0L, 0L, 0L, 0L, 0L, 0L), 0L, null);
stats.merge = new MergeStats(); stats.merge = new MergeStats();
stats.merge.add(0L, 0L, 0L, 42L, 0L, 0L, 0L, 0L, 0L, 0L); stats.merge.add(0L, 0L, 0L, 42L, 0L, 0L, 0L, 0L, 0L, 0L);
@ -52,7 +52,7 @@ public class IndexStatsRendererTests extends ESTestCase {
CommonStats stats = new CommonStats(); CommonStats stats = new CommonStats();
stats.docs = new DocsStats(345678L, randomLong()); stats.docs = new DocsStats(345678L, randomLong());
stats.store = new StoreStats(randomLong(), randomLong()); stats.store = new StoreStats(randomLong(), randomLong());
stats.indexing = new IndexingStats(new IndexingStats.Stats(0L, 0L, 0L, 0L, 0L, 0L, 0L, true, randomLong()), null); stats.indexing = new IndexingStats(new IndexingStats.Stats(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, true, randomLong()), null);
return stats; return stats;
} }
}); });