mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
c503765dd6
Before this patch, when Authelia started, if Mongo was not up and running, Authelia failed to connect and never retried. Now, everytime Authelia faces a broken connection, it tries to reconnect during the next operation.
21 lines
501 B
TypeScript
21 lines
501 B
TypeScript
require("chromedriver");
|
|
import Environment = require('../environment');
|
|
|
|
const includes = [
|
|
"docker-compose.minimal.yml",
|
|
"example/compose/docker-compose.base.yml",
|
|
"example/compose/nginx/minimal/docker-compose.yml",
|
|
"example/compose/ldap/docker-compose.yml"
|
|
]
|
|
|
|
|
|
before(function() {
|
|
this.timeout(20000);
|
|
this.environment = new Environment.Environment(includes);
|
|
return this.environment.setup(2000);
|
|
});
|
|
|
|
after(function() {
|
|
this.timeout(30000);
|
|
return this.environment.cleanup();
|
|
}); |