Skip to content

Commit 2dd0ec5

Browse files
committed
[TEST] Remove connection listener from all transports in AbstractSimpleTransportTestCase#testSendRandomRequests
1 parent 0c7fc22 commit 2dd0ec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/framework/src/main/java/org/elasticsearch/transport/AbstractSimpleTransportTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1605,7 +1605,7 @@ public void onNodeDisconnected(DiscoveryNode node) {
16051605
latch.await();
16061606
serviceA.removeConnectionListener(waitForConnection);
16071607
serviceB.removeConnectionListener(waitForConnection);
1608-
serviceB.removeConnectionListener(waitForConnection);
1608+
serviceC.removeConnectionListener(waitForConnection);
16091609

16101610

16111611
Map<TransportService, DiscoveryNode> toNodeMap = new HashMap<>();

0 commit comments

Comments
 (0)