Skip to content

Commit

Permalink
Update query_frontend_test.go
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav <[email protected]>
  • Loading branch information
pawarpranav83 authored Dec 22, 2023
1 parent 75705b9 commit db63f8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/query_frontend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ func TestQueryFrontend(t *testing.T) {
metric := []prompb.Label{
{Name: "job", Value: "myself"},
{Name: "prometheus", Value: "test"},
{Name: "replica", Value: "0"},
{Name: "receive", Value: "receive-ingestor"},
{Name: "replica", Value: "0"},
{Name: "tenant_id", Value: "default-tenant"},
}

Expand All @@ -85,7 +85,7 @@ func TestQueryFrontend(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
t.Cleanup(cancel)

testutil.Ok(t, RemoteWrite(ctx, samplesrw, i.InternalEndpoint("remote-write")))
testutil.Ok(t, RemoteWrite(ctx, samplesrw, i.Endpoint("remote-write")))

testutil.Ok(t, q.WaitSumMetricsWithOptions(e2emon.Equals(1), []string{"thanos_store_nodes_grpc_connections"}, e2emon.WaitMissingMetrics()))

Expand Down

0 comments on commit db63f8f

Please sign in to comment.