File tree 1 file changed +0
-2
lines changed
server/src/test/java/org/elasticsearch/indices/stats
1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -919,7 +919,6 @@ public void testFilterCacheStats() throws Exception {
919
919
IndicesStatsResponse stats = client ().admin ().indices ().prepareStats ("index" ).setQueryCache (true ).get ();
920
920
assertCumulativeQueryCacheStats (stats );
921
921
assertThat (stats .getTotal ().queryCache .getHitCount (), equalTo (0L ));
922
- assertThat (stats .getTotal ().queryCache .getEvictions (), equalTo (0L ));
923
922
assertThat (stats .getTotal ().queryCache .getMissCount (), greaterThan (0L ));
924
923
assertThat (stats .getTotal ().queryCache .getCacheSize (), greaterThan (0L ));
925
924
});
@@ -930,7 +929,6 @@ public void testFilterCacheStats() throws Exception {
930
929
IndicesStatsResponse stats = client ().admin ().indices ().prepareStats ("index" ).setQueryCache (true ).get ();
931
930
assertCumulativeQueryCacheStats (stats );
932
931
assertThat (stats .getTotal ().queryCache .getHitCount (), greaterThan (0L ));
933
- assertThat (stats .getTotal ().queryCache .getEvictions (), equalTo (0L ));
934
932
assertThat (stats .getTotal ().queryCache .getMissCount (), greaterThan (0L ));
935
933
assertThat (stats .getTotal ().queryCache .getCacheSize (), greaterThan (0L ));
936
934
});
You can’t perform that action at this time.
0 commit comments