Skip to content

Commit

Permalink
test: fix urls in frontend test
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorwhitney committed Oct 2, 2024
1 parent d453fb2 commit 61c812e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/lokifrontend/frontend/v1/frontend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ import (
)

const (
query = "/api/v1/query_range?end=1536716898&query=sum%28container_memory_rss%29+by+%28namespace%29&start=1536673680&step=120"
query = "/loki/api/v1/query_range?end=1536716898&query=sum%28container_memory_rss%29+by+%28namespace%29&start=1536673680&step=120"
responseBody = `{"status":"success","data":{"resultType":"Matrix","result":[{"metric":{"foo":"bar"},"values":[[1536673680,"137"],[1536673780,"137"]]}]}}`
labelQuery = `/api/v1/label/foo/values`
labelQuery = `/prom/label/foo/values`
)

func TestFrontend(t *testing.T) {
Expand Down

0 comments on commit 61c812e

Please sign in to comment.