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