Fix digitalocean test name

This commit is contained in:
Johannes Zellner 2016-09-10 10:02:30 +02:00
parent 62bba8422d
commit 0194fe071a

View File

@ -28,7 +28,7 @@ const SSH_KEY = 'id_rsa_e2e_selfhost';
const DO_TYPE = '1gb';
const DO_REGION = 'ams2';
const DO_TOKEN = process.env.DIGITAL_OCEAN_TOKEN_STAGING;
const EC2_REGION = 'eu-central-1';
const EC2_REGION = 'us-east-1';
const BACKUP_KEY = 'somesecret';
const BACKUP_BUCKET = 'selfhost-test';
const AWS_ACCESS_KEY = process.env.AWS_STAGING_ACCESS_KEY;
@ -51,11 +51,10 @@ function machine(args, options) {
}
}
describe('Selfhost EC2 Cloudron creation', function () {
describe('Selfhost DigitalOcean Cloudron creation', function () {
this.timeout(0);
var appStore = new AppStore('https://api.staging.cloudron.io');
// var ec2 = new AWS.EC2({ accessKeyId: AWS_ACCESS_KEY, secretAccessKey: AWS_ACCESS_SECRET, region: EC2_REGION });
var owner = common.getOwner();
var cloudron, appId, backupInfo, instanceId, restoreInstanceId, migrateInstanceId;
@ -120,7 +119,7 @@ describe('Selfhost EC2 Cloudron creation', function () {
it('can take a breather', function () {
// do can be really slow to come up. the addon containers take their own sweet time (they are "async" with the box startup)
// we end up sending email even before the mail container is ready
sleep(120);
sleep(30);
});
it('can enable email', function () {