Skip to content

Commit

Permalink
Merge branch 'master' into feature/configurable-placement-timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
dapr-bot authored Oct 9, 2024
2 parents 8ccf903 + 3d35d28 commit b428fe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/metrics/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func testMetricDisabled(t *testing.T, app string, res *http.Response) {

func findHTTPMetricFromPrometheus(t *testing.T, app string, res *http.Response) (foundMetric bool) {
rfmt := expfmt.ResponseFormat(res.Header)
require.NotEqual(t, rfmt, expfmt.FmtUnknown)
require.NotEqual(t, rfmt, expfmt.TypeUnknown)

decoder := expfmt.NewDecoder(res.Body, rfmt)

Expand Down Expand Up @@ -277,7 +277,7 @@ func testGRPCMetrics(t *testing.T, app string, res *http.Response) {
require.NotNil(t, res)

rfmt := expfmt.ResponseFormat(res.Header)
require.NotEqual(t, rfmt, expfmt.FmtUnknown)
require.NotEqual(t, rfmt, expfmt.TypeUnknown)

decoder := expfmt.NewDecoder(res.Body, rfmt)

Expand Down

0 comments on commit b428fe4

Please sign in to comment.