fix: flaky test for api/v1/targets/metadata. (#6436)
* Allows sorting of responses from the API in tests
Fixes flaky test for api/v1/targets/metadata.
Allows sorting of responses from the API. For our tests to be deterministic, we need to ensure the response from the API follows an order. This structure allows us to define one.
Fixes #6431
Signed-off-by: Ngotjosh <josue@grafana.com>
Showing
想要评论请 注册 或 登录