oncall-engine/engine/apps/grafana_plugin/tests
Joey Orlando 92ac1d884f
address occasional missing nextCursor data key from GCOM GET /instances (#4794)
# What this PR does

Addressing this task exception
([logs](https://ops.grafana-ops.net/goto/rkVAurrSR?orgId=1)):
```
2024-08-08 16:30:49,455 source=engine:celery worker=ForkPoolWorker-18 task_id=969226be-64a8-4616-ac32-3909d1f0cb60 task_name=apps.grafana_plugin.tasks.sync.start_sync_organizations name=celery.app.trace level=ERROR Task apps.grafana_plugin.tasks.sync.start_sync_organizations[969226be-64a8-4616-ac32-3909d1f0cb60] raised unexpected: KeyError('nextCursor')
```

[This
conversation](https://raintank-corp.slack.com/archives/C0K031RP1/p1723158123932529)
in `#grafana-com-dev` has more context. The _tldr;_ takeaway after
chatting w/ the GCOM team was lets simply retry requests in this case.

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
2024-08-09 15:42:10 +00:00
..
test_app_config.py remove unnecessary CI step bash command (#4397) 2024-05-24 15:13:38 -04:00
test_gcom_api_client.py address occasional missing nextCursor data key from GCOM GET /instances (#4794) 2024-08-09 15:42:10 +00:00
test_grafana_api_client.py Rework organization sync and grafana plugin engine backend (#4756) 2024-07-31 16:12:56 +00:00
test_install.py bump uwsgi to 2.0.26 + Python to 3.12.3 (#4495) 2024-06-10 15:33:37 -04:00
test_self_hosted_install.py Don't update RBAC status on Grafana server error (#4753) 2024-07-29 16:28:35 +00:00
test_status.py Fix inconsistency with API URL returned by plugin status (#3122) 2023-10-16 17:38:08 +00:00
test_sync.py Add task to delete empty deleted integrations from the database (#3941) 2024-02-27 17:34:41 +00:00
test_sync_v2.py Rework organization sync and grafana plugin engine backend (#4756) 2024-07-31 16:12:56 +00:00