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 () {
|
||||
cloudron.checkForUpdates();
|
||||
sleep(60); // give it a minute to get update info
|
||||
cloudron.update(toVersion);
|
||||
});
|
||||
|
||||
@ -112,7 +113,7 @@ describe('Cloudron update testing', 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 () {
|
||||
|
@ -247,6 +247,7 @@ describe('Selfhost DigitalOcean with filesystem backend', function () {
|
||||
|
||||
it('can update the box', function () {
|
||||
cloudron.checkForUpdates();
|
||||
sleep(60); // give it a minute to get update info
|
||||
|
||||
var params = [
|
||||
'--cloudron ' + process.env.DO_SELFHOST_DOMAIN,
|
||||
|
@ -160,6 +160,7 @@ describe('Selfhost DigitalOcean with S3 backend', function () {
|
||||
|
||||
it('can update the box', function () {
|
||||
cloudron.checkForUpdates();
|
||||
sleep(60); // give it a minute to get update info
|
||||
|
||||
var params = [
|
||||
DO_SELFHOST_DOMAIN,
|
||||
|
@ -154,6 +154,7 @@ describe('Selfhost EC2 Cloudron creation', function () {
|
||||
|
||||
it('can update the box', function () {
|
||||
cloudron.checkForUpdates();
|
||||
sleep(60); // give it a minute to get update info
|
||||
|
||||
var params = [
|
||||
EC2_SELFHOST_DOMAIN,
|
||||
|
Loading…
Reference in New Issue
Block a user