(t *testing.T, cortexSvc *e2ecortex.CortexService)
| 273 | } |
| 274 | |
| 275 | func getRuntimeConfig(t *testing.T, cortexSvc *e2ecortex.CortexService) cortex.RuntimeConfigValues { |
| 276 | res, err := e2e.GetRequest("http://" + cortexSvc.HTTPEndpoint() + "/runtime_config") |
| 277 | require.NoError(t, err) |
| 278 | |
| 279 | body, err := io.ReadAll(res.Body) |
| 280 | require.NoError(t, err) |
| 281 | |
| 282 | runtimeConfig := cortex.RuntimeConfigValues{} |
| 283 | require.NoError(t, yaml.Unmarshal(body, &runtimeConfig)) |
| 284 | return runtimeConfig |
| 285 | } |
no test coverage detected