Removing poor randomization for node name (#33918)

This commit is contained in:
Benjamin Trent 2018-09-21 04:49:20 -07:00 committed by GitHub
parent b654d986d7
commit e17bd8e913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -347,7 +347,7 @@ public class MachineLearningFeatureSetTests extends ESTestCase {
roles.add(DiscoveryNode.Role.DATA);
roles.add(DiscoveryNode.Role.MASTER);
roles.add(DiscoveryNode.Role.INGEST);
nodesBuilder.add(new DiscoveryNode(randomAlphaOfLength(i+1),
nodesBuilder.add(new DiscoveryNode("ml-feature-set-given-ml-node-" + i,
new TransportAddress(TransportAddress.META_ADDRESS, 9100 + i),
attrs,
roles,
@ -359,7 +359,7 @@ public class MachineLearningFeatureSetTests extends ESTestCase {
roles.add(DiscoveryNode.Role.DATA);
roles.add(DiscoveryNode.Role.MASTER);
roles.add(DiscoveryNode.Role.INGEST);
nodesBuilder.add(new DiscoveryNode(randomAlphaOfLength(i+1),
nodesBuilder.add(new DiscoveryNode("ml-feature-set-given-non-ml-node-" + i,
new TransportAddress(TransportAddress.META_ADDRESS, 9300 + i),
attrs,
roles,