not sure why the breather has to be taken after user creation
dovecot is not able to find the user if we send a mail immediately after activation.
This commit is contained in:
parent
2bb6f9dcbd
commit
c91f09a34f
|
@ -109,12 +109,6 @@ describe('Selfhost EC2 Cloudron creation', function () {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can take a breather', function () {
|
|
||||||
// ec2 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);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('can activate the box', function () {
|
it('can activate the box', function () {
|
||||||
cloudron.activate(owner);
|
cloudron.activate(owner);
|
||||||
});
|
});
|
||||||
|
@ -124,6 +118,12 @@ describe('Selfhost EC2 Cloudron creation', function () {
|
||||||
cloudron.setCredentials(owner.password, token);
|
cloudron.setCredentials(owner.password, token);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('can take a breather', function () {
|
||||||
|
// ec2 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);
|
||||||
|
});
|
||||||
|
|
||||||
it('send mail to cloudron user', function (done) {
|
it('send mail to cloudron user', function (done) {
|
||||||
mailer.sendMailToCloudronUser(owner.username + '@' + SELFHOST_DOMAIN, done);
|
mailer.sendMailToCloudronUser(owner.username + '@' + SELFHOST_DOMAIN, done);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue