Skip to content

Commit

Permalink
Fix tests compile
Browse files Browse the repository at this point in the history
  • Loading branch information
albertzaharovits committed Dec 19, 2024
1 parent e10d2fc commit 9370a6d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,21 @@ private static CommonStats mockCommonStats() {
commonStats.getStore().add(new StoreStats(++iota, no, no));
commonStats.getRefresh().add(new RefreshStats(no, ++iota, no, ++iota, (int) no));

final IndexingStats.Stats indexingStats = new IndexingStats.Stats(++iota, ++iota, no, no, no, no, no, no, false, ++iota, no, no);
final IndexingStats.Stats indexingStats = new IndexingStats.Stats(
++iota,
++iota,
no,
no,
no,
no,
no,
no,
no,
false,
++iota,
no,
no
);
commonStats.getIndexing().add(new IndexingStats(indexingStats));

final SearchStats.Stats searchStats = new SearchStats.Stats(++iota, ++iota, no, no, no, no, no, no, no, no, no, no, no, no);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ private CommonStats mockCommonStats() {
commonStats.getDocs().add(new DocsStats(1L, 0L, randomNonNegativeLong() >> 8)); // >> 8 to avoid overflow - we add these things up
commonStats.getStore().add(new StoreStats(2L, 0L, 0L));

final IndexingStats.Stats indexingStats = new IndexingStats.Stats(3L, 4L, 0L, 0L, 0L, 0L, 0L, 0L, true, 5L, 0, 0);
final IndexingStats.Stats indexingStats = new IndexingStats.Stats(3L, 4L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, true, 5L, 0, 0);
commonStats.getIndexing().add(new IndexingStats(indexingStats));

final SearchStats.Stats searchStats = new SearchStats.Stats(6L, 7L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ private static NodeStats mockNodeStats() {
no,
no,
no,
no,
false,
++iota,
no,
Expand Down

0 comments on commit 9370a6d

Please sign in to comment.