sprinkle a few checkForUpdates

This commit is contained in:
Girish Ramakrishnan 2016-06-18 13:51:31 -05:00
parent a85ae4873f
commit 98e5fcda2d
2 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,7 @@ describe('Cloudron update testing', function () {
});
it('can update the box', function () {
cloudron.checkForUpdates();
cloudron.update(toVersion);
});

View File

@ -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);
});