e2e: lock mailhog docker image
This commit is contained in:
parent
55cf49bb8a
commit
45df127f18
|
@ -30,12 +30,12 @@ class TestFlowsEnroll(SeleniumTestCase):
|
||||||
"""Setup test IdP container"""
|
"""Setup test IdP container"""
|
||||||
client: DockerClient = from_env()
|
client: DockerClient = from_env()
|
||||||
container = client.containers.run(
|
container = client.containers.run(
|
||||||
image="mailhog/mailhog",
|
image="mailhog/mailhog:v.1.0.1",
|
||||||
detach=True,
|
detach=True,
|
||||||
network_mode="host",
|
network_mode="host",
|
||||||
auto_remove=True,
|
auto_remove=True,
|
||||||
healthcheck=Healthcheck(
|
healthcheck=Healthcheck(
|
||||||
test=["CMD", "wget", "-s", "http://localhost:8025"],
|
test=["CMD", "wget", "--spider", "http://localhost:8025"],
|
||||||
interval=5 * 100 * 1000000,
|
interval=5 * 100 * 1000000,
|
||||||
start_period=1 * 100 * 1000000,
|
start_period=1 * 100 * 1000000,
|
||||||
),
|
),
|
||||||
|
|
|
@ -368,16 +368,16 @@ if len(sys.argv) >= 2 and sys.argv[1] == "test":
|
||||||
_LOGGING_HANDLER_MAP = {
|
_LOGGING_HANDLER_MAP = {
|
||||||
"": LOG_LEVEL,
|
"": LOG_LEVEL,
|
||||||
"passbook": LOG_LEVEL,
|
"passbook": LOG_LEVEL,
|
||||||
"django": LOG_LEVEL,
|
"django": "WARNING",
|
||||||
"celery": LOG_LEVEL,
|
"celery": "WARNING",
|
||||||
"selenium": LOG_LEVEL,
|
"selenium": "WARNING",
|
||||||
"grpc": LOG_LEVEL,
|
"grpc": LOG_LEVEL,
|
||||||
"oauthlib": LOG_LEVEL,
|
"oauthlib": LOG_LEVEL,
|
||||||
"oauth2_provider": LOG_LEVEL,
|
"oauth2_provider": LOG_LEVEL,
|
||||||
"oidc_provider": LOG_LEVEL,
|
"oidc_provider": LOG_LEVEL,
|
||||||
"docker": LOG_LEVEL,
|
"docker": "WARNING",
|
||||||
"urllib3": LOG_LEVEL,
|
"urllib3": "WARNING",
|
||||||
"elasticapm": LOG_LEVEL,
|
"elasticapm": "WARNING",
|
||||||
}
|
}
|
||||||
for handler_name, level in _LOGGING_HANDLER_MAP.items():
|
for handler_name, level in _LOGGING_HANDLER_MAP.items():
|
||||||
# pyright: reportGeneralTypeIssues=false
|
# pyright: reportGeneralTypeIssues=false
|
||||||
|
|
Reference in New Issue