From 8b710b57a5452eef4eb5180cb0243c5a425446b7 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 23 Dec 2022 14:37:58 +0100 Subject: [PATCH] root: don't send traces in testing Signed-off-by: Jens Langhammer --- authentik/root/test_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/root/test_runner.py b/authentik/root/test_runner.py index 94940d7c6..ef7ee1b7a 100644 --- a/authentik/root/test_runner.py +++ b/authentik/root/test_runner.py @@ -34,7 +34,7 @@ class PytestTestRunner: # pragma: no cover "outposts.container_image_base", f"ghcr.io/goauthentik/dev-%(type)s:{get_docker_tag()}", ) - CONFIG.y_set("error_reporting.sample_rate", 1.0) + CONFIG.y_set("error_reporting.sample_rate", 0) sentry_init( environment="testing", send_default_pii=True,