From 79113bd4e9eafdfbafd04d39ab005257ee9fb522 Mon Sep 17 00:00:00 2001 From: Max Neunhoeffer Date: Fri, 29 Apr 2016 18:37:35 +0200 Subject: [PATCH] Take external bootstrap out of testing.js. --- js/client/modules/@arangodb/testing.js | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/js/client/modules/@arangodb/testing.js b/js/client/modules/@arangodb/testing.js index a25aba1a47..6b22ff3269 100644 --- a/js/client/modules/@arangodb/testing.js +++ b/js/client/modules/@arangodb/testing.js @@ -1293,25 +1293,6 @@ function startInstanceCluster(instanceInfo, protocol, options, } }); - response = download(coordinatorUrl + '/_admin/cluster/bootstrapDbServers', '{"isRelaunch":false}', httpOptions); - - while (response.code !== 200) { - console.log('bootstrap dbservers failed', response); - wait(1); - } - - httpOptions.timeout = 3600; - response = download(coordinatorUrl + '/_admin/cluster/upgradeClusterDatabase', '{"isRelaunch":false}', httpOptions); - if (response.code !== 200) { - console.log(response); - throw new Error('Upgrading DB failed'); - } - - response = download(coordinatorUrl + '/_admin/cluster/bootstrapCoordinator', '{"isRelaunch":false}', httpOptions); - if (response.code !== 200) { - throw new Error('bootstraping coordinator failed'); - } - arango.reconnect(endpoint, "_system", 'root', ''); return true;