Adapt tests to --disk-size

This commit is contained in:
Johannes Zellner 2016-08-04 11:02:16 +02:00
parent 4806db9bea
commit c538009605

View File

@ -21,7 +21,7 @@ process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
const BOX_VERSION = process.env.BOX_VERSION;
const SELFHOST_DOMAIN = process.env.SELFHOST_DOMAIN;
const EC2_TYPE = 't2.small';
const EC2_SIZE = 40;
const EC2_SIZE = 30;
const EC2_REGION = 'eu-central-1';
const EC2_SSH_KEY = 'id_rsa_e2e_selfhost';
const EC2_SUBNET = 'subnet-801402e9';
@ -61,7 +61,7 @@ describe('Selfhost EC2 Cloudron creation', function () {
var params = [
'--fqdn ' + SELFHOST_DOMAIN,
'--type ' + EC2_TYPE,
'--size ' + EC2_SIZE,
'--disk-size ' + EC2_SIZE,
'--region ' + EC2_REGION,
'--ssh-key ' + EC2_SSH_KEY,
'--access-key-id ' + AWS_ACCESS_KEY,
@ -133,7 +133,7 @@ describe('Selfhost EC2 Cloudron creation', function () {
var params = [
'--fqdn ' + SELFHOST_DOMAIN,
'--type ' + EC2_TYPE,
'--size ' + EC2_SIZE,
'--disk-size ' + EC2_SIZE,
'--region ' + EC2_REGION,
'--ssh-key ' + EC2_SSH_KEY,
'--access-key-id ' + AWS_ACCESS_KEY,