From 84cbca97fd344ff77df16d07eb9e228c903fdc5e Mon Sep 17 00:00:00 2001 From: BrandonCate <81574192+BrandonCate@users.noreply.github.com> Date: Mon, 6 Jun 2022 13:45:54 -0500 Subject: [PATCH] Update pkg/metrics/observers/contour_test.go Co-authored-by: Sanskar Jaiswal Signed-off-by: brandoncate --- pkg/metrics/observers/contour_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/metrics/observers/contour_test.go b/pkg/metrics/observers/contour_test.go index b53ae6764..bc3b45ec7 100644 --- a/pkg/metrics/observers/contour_test.go +++ b/pkg/metrics/observers/contour_test.go @@ -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) {