File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
server/src/internalClusterTest/java/org/elasticsearch/action/bulk Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ public void testMappingValidationIndexExistsWithComponentTemplate() throws IOExc
135135 // Now make sure nothing was actually changed:
136136 indicesAdmin ().refresh (new RefreshRequest (indexName )).actionGet ();
137137 SearchResponse searchResponse = client ().search (new SearchRequest (indexName )).actionGet ();
138- assertThat (searchResponse .getHits ().getTotalHits ().value , equalTo (0L ));
138+ assertThat (searchResponse .getHits ().getTotalHits ().value () , equalTo (0L ));
139139 searchResponse .decRef ();
140140 ClusterStateResponse clusterStateResponse = admin ().cluster ().state (new ClusterStateRequest (TEST_REQUEST_TIMEOUT )).actionGet ();
141141 Map <String , Object > indexMapping = clusterStateResponse .getState ().metadata ().index (indexName ).mapping ().sourceAsMap ();
You can’t perform that action at this time.
0 commit comments