sprinkle a few checkForUpdates
This commit is contained in:
parent
a85ae4873f
commit
98e5fcda2d
|
@ -90,6 +90,7 @@ describe('Cloudron update testing', function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can update the box', function () {
|
it('can update the box', function () {
|
||||||
|
cloudron.checkForUpdates();
|
||||||
cloudron.update(toVersion);
|
cloudron.update(toVersion);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -107,6 +107,7 @@ describe('Cloudron update testing', function () {
|
||||||
|
|
||||||
it('can update to new version', function () {
|
it('can update to new version', function () {
|
||||||
console.log('Wait for cloudron to get the update');
|
console.log('Wait for cloudron to get the update');
|
||||||
|
cloudron.checkForUpdates();
|
||||||
sleep(60 * 2);
|
sleep(60 * 2);
|
||||||
cloudron.update(nextVersion);
|
cloudron.update(nextVersion);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue