You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit fixes an issue with the Netty 4 multi-port test that a
transport client can connect. The problem here is that in case the
bottom of the random port range was already bound to (for example, by
another JVM) then then transport client could not connect to the data
node. This is because the transport client was in fact using the bottom
of the port range only. Instead, we simply try all the ports that the
data node might be bound to.
This commit is cherry picked from 049e641 but adapted to preserve the
use of InetSocketTransportAddress
Closes#24441
Copy file name to clipboardExpand all lines: modules/transport-netty4/src/test/java/org/elasticsearch/transport/netty4/Netty4TransportMultiPortIntegrationIT.java
+5-1
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ public class Netty4TransportMultiPortIntegrationIT extends ESNetty4IntegTestCase
0 commit comments