Skip to content

Commit

Permalink
Update pkg/metrics/observers/contour_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sanskar Jaiswal <hey@aryan.lol>
Signed-off-by: brandoncate <brandon.cate@shipt.com>
  • Loading branch information
BrandonCate and aryan9600 committed Jun 6, 2022
1 parent 4fadfbc commit 84cbca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/metrics/observers/contour_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func TestContourObserver_GetRequestDuration(t *testing.T) {
assert.Equal(t, 100*time.Millisecond, val)
}

func TestContourObserver_GetRequestDuration_Service(t *testing.T) {
func TestContourObserver_CustomService_GetRequestDuration(t *testing.T) {
expected := ` histogram_quantile( 0.99, sum( rate( envoy_cluster_upstream_rq_time_bucket{ envoy_cluster_name=~"default_podinfo-service-canary_[0-9a-zA-Z-]+", }[1m] ) ) by (le) )`

ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit 84cbca9

Please sign in to comment.