diff --git a/pkg/metrics/istio_test.go b/pkg/metrics/istio_test.go index dfba3c05..2eb7f5d2 100644 --- a/pkg/metrics/istio_test.go +++ b/pkg/metrics/istio_test.go @@ -49,7 +49,7 @@ func TestIstioObserver_GetRequestDuration(t *testing.T) { t.Errorf("\nGot %s \nWanted %s", promql, expected) } - json := `{"status":"success","data":{"resultType":"vector","result":[{"metric":{},"value":[1,"100"]}]}}` + json := `{"status":"success","data":{"resultType":"vector","result":[{"metric":{},"value":[1,"0.100"]}]}}` w.Write([]byte(json)) })) defer ts.Close()