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 24, 2023
1 parent 5d17ea2 commit 0ad9b09
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/e2e/query_frontend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@ func TestQueryFrontend(t *testing.T) {
{Name: "instance", Value: "localhost:9090"},
{Name: "job", Value: "myself"},
{Name: "prometheus", Value: "test"},
{Name: "receive", Value: "receive-ingestor-rw"},
{Name: "replica", Value: "0"},
{Name: "tenant_id", Value: "default-tenant"},
}

samplesrw = append(samplesrw, prompb.TimeSeries{
Expand All @@ -87,7 +84,7 @@ func TestQueryFrontend(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
t.Cleanup(cancel)

testutil.Ok(t, RemoteWrite(ctx, samplesrw, i.Endpoint("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 0ad9b09

Please sign in to comment.