From 967d349c6ae3325abc6ec29638b66d09f8f3f602 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 7 Jun 2016 16:50:37 -0700 Subject: [PATCH] test app auto update --- test/cloudron-autoupdate-sfo1-test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/cloudron-autoupdate-sfo1-test.js b/test/cloudron-autoupdate-sfo1-test.js index 3c37abf..a7b4785 100644 --- a/test/cloudron-autoupdate-sfo1-test.js +++ b/test/cloudron-autoupdate-sfo1-test.js @@ -117,8 +117,9 @@ describe('Cloudron update testing', function () { cloudron.waitForUpdate(nextVersion); }); - it('runs the app', function () { - cloudron.waitForApp(appId); + it('auto updates the app with new version', function () { + sleep(60 * 5); // give it 5 mins to autoupdate the box and the app + cloudron.waitForApp(appId, common.TESTAPP_VERSION); }); it('can check the addons', function () {