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@9896ba4cc7
This commit is contained in:
Nik Everett 2017-05-26 15:20:44 -04:00
parent 43928708fa
commit 928589bd89
1 changed files with 1 additions and 1 deletions

View File

@ -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'