[Tests] ExternalCluster change error message when use local network mode due to wrong system properties
This commit is contained in:
parent
024df242dc
commit
89f8f6c51e
|
@ -72,7 +72,7 @@ public final class ExternalTestCluster extends TestCluster {
|
||||||
|
|
||||||
// verify that the end node setting will have network enabled.
|
// verify that the end node setting will have network enabled.
|
||||||
Tuple<Settings, Environment> finalSettings = InternalSettingsPreparer.prepareSettings(clientSettings, true);
|
Tuple<Settings, Environment> finalSettings = InternalSettingsPreparer.prepareSettings(clientSettings, true);
|
||||||
assertFalse("backward compatibility tests must run in network mode. You probably have a system property overriding the test settings",
|
assertFalse("testing against an external cluster must run in network mode. You probably have a system property overriding the test settings.",
|
||||||
DiscoveryNode.localNode(finalSettings.v1()));
|
DiscoveryNode.localNode(finalSettings.v1()));
|
||||||
|
|
||||||
this.client = new TransportClient(clientSettings).addTransportAddresses(transportAddresses);
|
this.client = new TransportClient(clientSettings).addTransportAddresses(transportAddresses);
|
||||||
|
|
Loading…
Reference in New Issue