From 3970139ea72d52d2a0e15c2e6bd71d7e60dfcb22 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 8 Aug 2017 14:53:40 -0700 Subject: [PATCH] Add --wait for configure --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 94b3940..ce9b32f 100755 --- a/test/test.js +++ b/test/test.js @@ -268,7 +268,7 @@ describe('Application life cycle test', function () { it('move to different location', function () { browser.manage().deleteAllCookies(); - execSync('cloudron configure --location ' + LOCATION + '2', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); + execSync('cloudron configure --wait --location ' + LOCATION + '2', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); var inspect = JSON.parse(execSync('cloudron inspect')); app = inspect.apps.filter(function (a) { return a.location === LOCATION + '2'; })[0]; expect(app).to.be.an('object');