Build: Use correct data node in test
We were getting lock errors because I hand ported something and made
a copy and paste error.
Original commit: elastic/x-pack-elasticsearch@9896ba4cc77fa7f7b00a4371702383a257d4ea85
@@ -109,7 +109,7 @@ for (boolean withSystemKey: [true, false]) {
distribution = 'zip'
clusterName = 'rolling-upgrade'
unicastTransportUri = { seedNode, node, ant -> oldClusterTest.nodes.get(0).transportUri() }
- dataDir = { nodeNumber -> oldClusterTest.nodes[1].dataDir }
+ dataDir = { nodeNumber -> oldClusterTest.nodes[0].dataDir }
waitCondition = waitWithAuth
setting 'xpack.ssl.keystore.path', 'testnode.jks'
setting 'xpack.ssl.keystore.password', 'testnode'
