MCPcopy Index your code
hub / github.com/cortexproject/cortex / TestQueryFrontendRemoteRead

Function TestQueryFrontendRemoteRead

integration/query_frontend_test.go:239–250  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

237}
238
239func TestQueryFrontendRemoteRead(t *testing.T) {
240 runQueryFrontendTest(t, queryFrontendTestConfig{
241 remoteReadEnabled: true,
242 setup: func(t *testing.T, s *e2e.Scenario) (configFile string, flags map[string]string) {
243 require.NoError(t, writeFileToSharedDir(s, cortexConfigFile, []byte(BlocksStorageConfig)))
244
245 minio := e2edb.NewMinio(9000, BlocksStorageFlags()["-blocks-storage.s3.bucket-name"])
246 require.NoError(t, s.StartAndWaitReady(minio))
247 return cortexConfigFile, flags
248 },
249 })
250}
251
252func TestQueryFrontendSubQueryStepSize(t *testing.T) {
253 runQueryFrontendTest(t, queryFrontendTestConfig{

Callers

nothing calls this directly

Calls 3

runQueryFrontendTestFunction · 0.85
writeFileToSharedDirFunction · 0.85
StartAndWaitReadyMethod · 0.80

Tested by

no test coverage detected