Fix Istio request duration test

This commit is contained in:
stefanprodan
2019-05-15 20:10:27 +03:00
parent 5b3fd0efca
commit 58bde24ece
+1 -1
View File
@@ -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()