wait more
This commit is contained in:
parent
1f5bd4eda7
commit
8146074ead
@ -426,6 +426,7 @@ Cloudron.prototype.setEmailEnabled = function (enabled) {
|
||||
.send({ enabled: enabled })
|
||||
.end();
|
||||
common.verifyResponse2xx(res, 'Could not enable email');
|
||||
sleep(60); // generously wait for the mail server to restart. it takes 10 seconds to stop it... and then there is DNS propagation
|
||||
};
|
||||
|
||||
Cloudron.prototype.checkTimeZone = function (tz) {
|
||||
|
@ -68,7 +68,6 @@ describe('Cloudron backup testing', function () {
|
||||
|
||||
it('can enable email', function () {
|
||||
cloudron.setEmailEnabled(true);
|
||||
sleep(20); // sometime for the mail container to come up
|
||||
});
|
||||
|
||||
// mail alias tests (do this here because alias takes sometime to propagate)
|
||||
|
@ -71,7 +71,6 @@ describe('Custom domain test', function () {
|
||||
|
||||
it('can enable email', function () {
|
||||
cloudron.setEmailEnabled(true);
|
||||
sleep(20); // sometime for the mail container to come up
|
||||
});
|
||||
|
||||
it('can migrate cloudron to custom domain', function () {
|
||||
|
@ -126,7 +126,6 @@ describe('Selfhost EC2 Cloudron creation', function () {
|
||||
|
||||
it('can enable email', function () {
|
||||
cloudron.setEmailEnabled(true);
|
||||
sleep(20); // sometime for the mail container to come up
|
||||
});
|
||||
|
||||
it('send mail to cloudron user', function (done) {
|
||||
|
Loading…
Reference in New Issue
Block a user