From fdbe7c410ebf8b2be0d1fee13dd3c933065fa22b Mon Sep 17 00:00:00 2001 From: Ben Ye Date: Sat, 12 Aug 2023 16:08:54 -0700 Subject: [PATCH] fix e2e test Signed-off-by: Ben Ye --- test/e2e/store_gateway_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/store_gateway_test.go b/test/e2e/store_gateway_test.go index 9d0a6aa89db..9fec13287b4 100644 --- a/test/e2e/store_gateway_test.go +++ b/test/e2e/store_gateway_test.go @@ -879,7 +879,7 @@ config: testutil.Ok(t, runutil.RetryWithLog(log.NewLogfmtLogger(os.Stdout), 5*time.Second, ctx.Done(), func() error { if _, _, _, err := promclient.NewDefaultClient().QueryInstant(ctx, urlParse(t, "http://"+q1.Endpoint("http")), testQuery, now, opts); err != nil { e := err.Error() - if strings.Contains(e, "expanded matching posting: get postings") && strings.Contains(e, "exceeded bytes limit while fetching postings: limit 1 violated") { + if strings.Contains(e, "expanded matching posting: fetch and expand postings") && strings.Contains(e, "exceeded bytes limit while fetching postings: limit 1 violated") { return nil } return err