Skip to content

Commit c93092b

Browse files
committed
Remove getseries test with old timestamps - that should return data from ingsters
Signed-off-by: alanprot <[email protected]>
1 parent 86e4d57 commit c93092b

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

integration/query_frontend_test.go

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -361,18 +361,6 @@ func runQueryFrontendTest(t *testing.T, cfg queryFrontendTestConfig) {
361361
require.Equal(t, http.StatusBadRequest, resp.StatusCode)
362362
}
363363

364-
// In this test we do ensure that the /series start/end time is ignored and Cortex
365-
// always returns series in ingesters memory. No need to repeat it for each user.
366-
if userID == 0 {
367-
start := now.Add(-1000 * time.Hour)
368-
end := now.Add(-999 * time.Hour)
369-
370-
result, err := c.Series([]string{"series_1"}, start, end)
371-
require.NoError(t, err)
372-
require.Len(t, result, 1)
373-
assert.Equal(t, model.LabelSet{labels.MetricName: "series_1"}, result[0])
374-
}
375-
376364
// No need to repeat the query 400 test for each user.
377365
if userID == 0 {
378366
start := time.Unix(1595846748, 806*1e6)
@@ -400,7 +388,7 @@ func runQueryFrontendTest(t *testing.T, cfg queryFrontendTestConfig) {
400388

401389
wg.Wait()
402390

403-
extra := float64(3)
391+
extra := float64(2)
404392
if cfg.testMissingMetricName {
405393
extra++
406394
}

0 commit comments

Comments
 (0)