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 <101933072+pawarpranav83@users.noreply.github.com>
  • Loading branch information
pawarpranav83 authored Dec 21, 2023
1 parent 0fa991a commit 472c8c9
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 @@ -81,8 +81,6 @@ func TestQueryFrontend(t *testing.T) {
},
})

RemoteWrite(seriest, q.InternalEndpoint("http"))

inMemoryCacheConfig := queryfrontend.CacheProviderConfig{
Type: queryfrontend.INMEMORY,
Config: queryfrontend.InMemoryResponseCacheConfig{
Expand All @@ -98,6 +96,8 @@ func TestQueryFrontend(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
t.Cleanup(cancel)

RemoteWrite(ctx, seriest, 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
Expand Down

0 comments on commit 472c8c9

Please sign in to comment.