oncall-engine/engine/apps/auth_token/tests
Matias Bordese cc63ec3141
fix: return a throttled response if org is being synced for the first time during auth (#5374)
Related to https://github.com/grafana/oncall-private/issues/2826

When Terraform triggers multiple requests and org needs to be synced in
OnCall, the first request will wait for sync to complete but others will
get an immediate response, before a 403, with these changes a 429
indicating to retry (Terraform
[client](https://github.com/grafana/amixr-api-go-client/blob/main/client.go#L310)
will handle the response and perform a retry).
2024-12-19 11:17:08 +00:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
helpers.py feat: add service account checks in plugin auth (#5305) 2024-11-28 19:03:07 +00:00
test_crypto.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_grafana_auth.py fix: return a throttled response if org is being synced for the first time during auth (#5374) 2024-12-19 11:17:08 +00:00
test_integration_backsync_auth_token.py Integration backsync token (#4056) 2024-03-18 09:16:54 +00:00
test_plugin_auth.py fix: remove service account role check on sync requests (#5355) 2024-12-11 19:08:10 +00:00