Skip to content

Commit ed1c4f6

Browse files
committed
[TEST] UnicastBackwardsCompatibilityTest should not copy internal node settings to external nodes
Recent test failures triggered by #7289 were caused by this, simply because internal node settings (transport type key) that are not supported by the external older nodes were copied to them by mistake.
1 parent f2176c9 commit ed1c4f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/elasticsearch/bwcompat/UnicastBackwardsCompatibilityTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected Settings externalNodeSettings(int nodeOrdinal) {
4545
.put("transport.tcp.port", 9390 + nodeOrdinal)
4646
.put("discovery.zen.ping.multicast.enabled", false)
4747
.put("discovery.zen.ping.unicast.hosts", "localhost:9380,localhost:9381,localhost:9390,localhost:9391")
48-
.put(super.nodeSettings(nodeOrdinal))
48+
.put(super.externalNodeSettings(nodeOrdinal))
4949
.build();
5050
}
5151

0 commit comments

Comments
 (0)