e2e: lock mailhog docker image

This commit is contained in:
Jens Langhammer 2020-08-14 17:55:44 +02:00
parent 55cf49bb8a
commit 45df127f18
2 changed files with 8 additions and 8 deletions

View File

@ -30,12 +30,12 @@ class TestFlowsEnroll(SeleniumTestCase):
"""Setup test IdP container"""
client: DockerClient = from_env()
container = client.containers.run(
image="mailhog/mailhog",
image="mailhog/mailhog:v.1.0.1",
detach=True,
network_mode="host",
auto_remove=True,
healthcheck=Healthcheck(
test=["CMD", "wget", "-s", "http://localhost:8025"],
test=["CMD", "wget", "--spider", "http://localhost:8025"],
interval=5 * 100 * 1000000,
start_period=1 * 100 * 1000000,
),

View File

@ -368,16 +368,16 @@ if len(sys.argv) >= 2 and sys.argv[1] == "test":
_LOGGING_HANDLER_MAP = {
"": LOG_LEVEL,
"passbook": LOG_LEVEL,
"django": LOG_LEVEL,
"celery": LOG_LEVEL,
"selenium": LOG_LEVEL,
"django": "WARNING",
"celery": "WARNING",
"selenium": "WARNING",
"grpc": LOG_LEVEL,
"oauthlib": LOG_LEVEL,
"oauth2_provider": LOG_LEVEL,
"oidc_provider": LOG_LEVEL,
"docker": LOG_LEVEL,
"urllib3": LOG_LEVEL,
"elasticapm": LOG_LEVEL,
"docker": "WARNING",
"urllib3": "WARNING",
"elasticapm": "WARNING",
}
for handler_name, level in _LOGGING_HANDLER_MAP.items():
# pyright: reportGeneralTypeIssues=false