Skip to content

Commit 55aaf10

Browse files
committed
[Grid] Enabling IPv6, fixes #7541
Also enabling `--detect-drivers` for nodes
1 parent d69ee97 commit 55aaf10

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

java/server/src/org/openqa/selenium/events/zeromq/BoundZmqEventBus.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,12 @@ class BoundZmqEventBus implements EventBus {
4646
LOG.info(String.format("XPUB binding to %s, XSUB binding to %s", xpubAddr, xsubAddr));
4747

4848
xpub = context.createSocket(SocketType.XPUB);
49+
xpub.setIPv6(true);
4950
xpub.setImmediate(true);
5051
xpub.bind(xpubAddr.bindTo);
5152

5253
xsub = context.createSocket(SocketType.XSUB);
54+
xsub.setIPv6(true);
5355
xsub.setImmediate(true);
5456
xsub.bind(xsubAddr.bindTo);
5557

java/server/src/org/openqa/selenium/events/zeromq/UnboundEventBus.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,12 @@ class UnboundZmqEventBus implements EventBus {
6464
LOG.info(String.format("Connecting to %s and %s", publishConnection, subscribeConnection));
6565

6666
sub = context.createSocket(SocketType.SUB);
67+
sub.setIPv6(true);
6768
sub.connect(publishConnection);
6869
sub.subscribe(new byte[0]);
6970

7071
pub = context.createSocket(SocketType.PUB);
72+
pub.setIPv6(true);
7173
pub.connect(subscribeConnection);
7274

7375
ZMQ.Poller poller = context.createPoller(1);

java/server/src/org/openqa/selenium/grid/node/httpd/NodeFlags.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ class NodeFlags {
2727
names = {"--detect-drivers"},
2828
description = "Autodetect which drivers are available on the current system, and add them to the node.")
2929
@ConfigValue(section = "node", name = "detect-drivers")
30-
public boolean autoconfigure;
30+
public boolean autoconfigure = true;
3131
}

0 commit comments

Comments
 (0)