Skip to content

Commit

Permalink
Test compile
Browse files Browse the repository at this point in the history
  • Loading branch information
andreidan committed Oct 24, 2024
1 parent 94f0baf commit 1a99233
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ public void testCanMatchSkipsPartiallyMountedIndicesWhenFrozenNodesUnavailable()
assertThat(searchResponse.getFailedShards(), equalTo(0));
// we should be receiving all the hits from the index that's in the data_content tier
assertNotNull(searchResponse.getHits().getTotalHits());
assertThat(searchResponse.getHits().getTotalHits().value(), equalTo((long) numDocsRegularIndex));
assertThat(searchResponse.getHits().getTotalHits().value, equalTo((long) numDocsRegularIndex));
});
}

Expand All @@ -1056,7 +1056,7 @@ public void testCanMatchSkipsPartiallyMountedIndicesWhenFrozenNodesUnavailable()
assertThat(searchResponse.getFailedShards(), equalTo(0));
// we should be receiving all the hits from the index that's in the data_content tier
assertNotNull(searchResponse.getHits().getTotalHits());
assertThat(searchResponse.getHits().getTotalHits().value(), equalTo((long) numDocsRegularIndex));
assertThat(searchResponse.getHits().getTotalHits().value, equalTo((long) numDocsRegularIndex));
});
}

Expand All @@ -1072,7 +1072,7 @@ public void testCanMatchSkipsPartiallyMountedIndicesWhenFrozenNodesUnavailable()
assertThat(searchResponse.getFailedShards(), equalTo(0));
// we should be receiving all the hits from the index that's in the data_content tier
assertNotNull(searchResponse.getHits().getTotalHits());
assertThat(searchResponse.getHits().getTotalHits().value(), equalTo((long) numDocsRegularIndex));
assertThat(searchResponse.getHits().getTotalHits().value, equalTo((long) numDocsRegularIndex));
});
}

Expand All @@ -1089,7 +1089,7 @@ public void testCanMatchSkipsPartiallyMountedIndicesWhenFrozenNodesUnavailable()
assertThat(searchResponse.getFailedShards(), equalTo(0));
// we should be receiving all the hits from the index that's in the data_content tier
assertNotNull(searchResponse.getHits().getTotalHits());
assertThat(searchResponse.getHits().getTotalHits().value(), equalTo((long) numDocsRegularIndex));
assertThat(searchResponse.getHits().getTotalHits().value, equalTo((long) numDocsRegularIndex));
});
}
}
Expand Down

0 comments on commit 1a99233

Please sign in to comment.