From 85f6f8e6e8c52301c674ab40a3855b7b25c722c7 Mon Sep 17 00:00:00 2001 From: Pranav <101933072+pawarpranav83@users.noreply.github.com> Date: Fri, 22 Dec 2023 10:40:35 +0530 Subject: [PATCH] Update query_frontend_test.go Signed-off-by: Pranav <101933072+pawarpranav83@users.noreply.github.com> --- test/e2e/query_frontend_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/query_frontend_test.go b/test/e2e/query_frontend_test.go index f3efb01123c..ee99b60c134 100644 --- a/test/e2e/query_frontend_test.go +++ b/test/e2e/query_frontend_test.go @@ -85,8 +85,8 @@ func TestQueryFrontend(t *testing.T) { ctx, cancel := context.WithTimeout(context.Background(), time.Minute) t.Cleanup(cancel) - RemoteWrite(ctx, samplesrw, q.InternalEndpoint("http")) - + testutil.Ok(t, RemoteWrite(ctx, samplesrw, q.InternalEndpoint("http"))) + testutil.Ok(t, q.WaitSumMetricsWithOptions(e2emon.Equals(1), []string{"thanos_store_nodes_grpc_connections"}, e2emon.WaitMissingMetrics())) // Ensure we can get the result from Querier first so that it