diff --git a/e2e/test_flows_enroll.py b/e2e/test_flows_enroll.py index ca21b3a09..cb25e8482 100644 --- a/e2e/test_flows_enroll.py +++ b/e2e/test_flows_enroll.py @@ -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, ), diff --git a/passbook/root/settings.py b/passbook/root/settings.py index 0a6d4656f..0c8adc451 100644 --- a/passbook/root/settings.py +++ b/passbook/root/settings.py @@ -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