[TEST] use a different node ID for the test nodes
This commit is contained in:
parent
3bba7dbe07
commit
7e5d8a6e5a
|
@ -68,7 +68,7 @@ public class SearchAsyncActionTests extends ESTestCase {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
DiscoveryNode primaryNode = new DiscoveryNode("node_1", buildNewFakeTransportAddress(), Version.CURRENT);
|
DiscoveryNode primaryNode = new DiscoveryNode("node_1", buildNewFakeTransportAddress(), Version.CURRENT);
|
||||||
DiscoveryNode replicaNode = new DiscoveryNode("node_1", buildNewFakeTransportAddress(), Version.CURRENT);
|
DiscoveryNode replicaNode = new DiscoveryNode("node_2", buildNewFakeTransportAddress(), Version.CURRENT);
|
||||||
|
|
||||||
Map<DiscoveryNode, Set<Long>> nodeToContextMap = new HashMap<>();
|
Map<DiscoveryNode, Set<Long>> nodeToContextMap = new HashMap<>();
|
||||||
AtomicInteger contextIdGenerator = new AtomicInteger(0);
|
AtomicInteger contextIdGenerator = new AtomicInteger(0);
|
||||||
|
|
Loading…
Reference in New Issue