Skip to content

Commit

Permalink
remove redundant line
Browse files Browse the repository at this point in the history
  • Loading branch information
iverase committed Nov 24, 2023
1 parent 0a2feb3 commit ca965e7
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ public void indexShardStateChanged(
long[] expectedCount = new long[] { -1 };
for (Client client : clients()) {
assertNoFailuresAndResponse(client.prepareSearch("test").setPreference("_local").setSize(0), response -> {
assertNoFailures(response);
if (expectedCount[0] < 0) {
expectedCount[0] = response.getHits().getTotalHits().value;
} else {
Expand Down

0 comments on commit ca965e7

Please sign in to comment.