From 98e5fcda2d7f988e85540538921f73f08f3d5d0e Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Sat, 18 Jun 2016 13:51:31 -0500 Subject: [PATCH] sprinkle a few checkForUpdates --- test/cloudron-autoupdate-sfo1-test.js | 1 + test/cloudron-update-ams3-test.js | 1 + 2 files changed, 2 insertions(+) diff --git a/test/cloudron-autoupdate-sfo1-test.js b/test/cloudron-autoupdate-sfo1-test.js index 7b3362c..a6c1e2a 100644 --- a/test/cloudron-autoupdate-sfo1-test.js +++ b/test/cloudron-autoupdate-sfo1-test.js @@ -90,6 +90,7 @@ describe('Cloudron update testing', function () { }); it('can update the box', function () { + cloudron.checkForUpdates(); cloudron.update(toVersion); }); diff --git a/test/cloudron-update-ams3-test.js b/test/cloudron-update-ams3-test.js index 831b61f..9340020 100644 --- a/test/cloudron-update-ams3-test.js +++ b/test/cloudron-update-ams3-test.js @@ -107,6 +107,7 @@ describe('Cloudron update testing', function () { it('can update to new version', function () { console.log('Wait for cloudron to get the update'); + cloudron.checkForUpdates(); sleep(60 * 2); cloudron.update(nextVersion); });