mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
Remove redudant children of BroadcastResponse (#104410)
A couple of children of `BroadCastResponse` are completely redundant, adding no extra fields or separate serialization. Removed them and replaced their use by the broadcast response itself.
This commit is contained in:
parent
af50962ec3
commit
51caf171bc
96 changed files with 293 additions and 655 deletions
|
@ -17,8 +17,8 @@ import org.apache.http.nio.entity.NByteArrayEntity;
|
|||
import org.apache.lucene.search.join.ScoreMode;
|
||||
import org.apache.lucene.tests.util.TimeUnits;
|
||||
import org.apache.lucene.util.BytesRef;
|
||||
import org.elasticsearch.action.admin.indices.refresh.RefreshResponse;
|
||||
import org.elasticsearch.action.search.SearchRequest;
|
||||
import org.elasticsearch.action.support.broadcast.BroadcastResponse;
|
||||
import org.elasticsearch.aggregations.pipeline.DerivativePipelineAggregationBuilder;
|
||||
import org.elasticsearch.client.Request;
|
||||
import org.elasticsearch.client.Response;
|
||||
|
@ -199,7 +199,7 @@ public class CCSDuelIT extends ESRestTestCase {
|
|||
|
||||
assertTrue(latch.await(30, TimeUnit.SECONDS));
|
||||
|
||||
RefreshResponse refreshResponse = refresh(INDEX_NAME);
|
||||
BroadcastResponse refreshResponse = refresh(INDEX_NAME);
|
||||
ElasticsearchAssertions.assertNoFailures(refreshResponse);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue