root: don't send traces in testing

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-12-23 14:37:58 +01:00
parent 716584bbae
commit 8b710b57a5
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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,