give some time for update to become available
This commit is contained in:
parent
e60217145b
commit
43f7ef0852
@ -95,6 +95,7 @@ describe('Cloudron update testing', function () {
|
|||||||
|
|
||||||
it('can update the box', function () {
|
it('can update the box', function () {
|
||||||
cloudron.checkForUpdates();
|
cloudron.checkForUpdates();
|
||||||
|
sleep(60); // give it a minute to get update info
|
||||||
cloudron.update(toVersion);
|
cloudron.update(toVersion);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -112,7 +113,7 @@ describe('Cloudron update testing', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('can set the autoupdate pattern', function () {
|
it('can set the autoupdate pattern', function () {
|
||||||
cloudron.setAutoupdatePattern('00 */1 * * * *'); // every 1 minute (but updateChecker runs only every 10 mins :/)
|
cloudron.setAutoupdatePattern('00 */1 * * * *'); // every 1 minute
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can update to new version', function () {
|
it('can update to new version', function () {
|
||||||
|
@ -247,6 +247,7 @@ describe('Selfhost DigitalOcean with filesystem backend', function () {
|
|||||||
|
|
||||||
it('can update the box', function () {
|
it('can update the box', function () {
|
||||||
cloudron.checkForUpdates();
|
cloudron.checkForUpdates();
|
||||||
|
sleep(60); // give it a minute to get update info
|
||||||
|
|
||||||
var params = [
|
var params = [
|
||||||
'--cloudron ' + process.env.DO_SELFHOST_DOMAIN,
|
'--cloudron ' + process.env.DO_SELFHOST_DOMAIN,
|
||||||
|
@ -160,6 +160,7 @@ describe('Selfhost DigitalOcean with S3 backend', function () {
|
|||||||
|
|
||||||
it('can update the box', function () {
|
it('can update the box', function () {
|
||||||
cloudron.checkForUpdates();
|
cloudron.checkForUpdates();
|
||||||
|
sleep(60); // give it a minute to get update info
|
||||||
|
|
||||||
var params = [
|
var params = [
|
||||||
DO_SELFHOST_DOMAIN,
|
DO_SELFHOST_DOMAIN,
|
||||||
|
@ -154,6 +154,7 @@ describe('Selfhost EC2 Cloudron creation', function () {
|
|||||||
|
|
||||||
it('can update the box', function () {
|
it('can update the box', function () {
|
||||||
cloudron.checkForUpdates();
|
cloudron.checkForUpdates();
|
||||||
|
sleep(60); // give it a minute to get update info
|
||||||
|
|
||||||
var params = [
|
var params = [
|
||||||
EC2_SELFHOST_DOMAIN,
|
EC2_SELFHOST_DOMAIN,
|
||||||
|
Loading…
Reference in New Issue
Block a user