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…
Reference in New Issue