root: don't send traces in testing
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
716584bbae
commit
8b710b57a5
|
@ -34,7 +34,7 @@ class PytestTestRunner: # pragma: no cover
|
||||||
"outposts.container_image_base",
|
"outposts.container_image_base",
|
||||||
f"ghcr.io/goauthentik/dev-%(type)s:{get_docker_tag()}",
|
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(
|
sentry_init(
|
||||||
environment="testing",
|
environment="testing",
|
||||||
send_default_pii=True,
|
send_default_pii=True,
|
||||||
|
|
Reference in a new issue