mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-13 16:35:45 +00:00
Redundant assertion in TransportReplicationActionTests#runReplicateTest
This commit is contained in:
parent
c291c17142
commit
bb4d857e44
@ -492,7 +492,6 @@ public class TransportReplicationActionTests extends ESTestCase {
|
||||
final CapturingTransport.CapturedRequest[] capturedRequests = transport.capturedRequests();
|
||||
transport.clear();
|
||||
|
||||
assertThat(capturedRequests.length, equalTo(assignedReplicas));
|
||||
HashMap<String, Request> nodesSentTo = new HashMap<>();
|
||||
boolean executeOnReplica =
|
||||
action.shouldExecuteReplication(clusterService.state().getMetaData().index(shardId.getIndex()).getSettings());
|
||||
|
Loading…
x
Reference in New Issue
Block a user