- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestMetricsNoPrometheus (0.19 sec)
-
istioctl/pkg/metrics/metrics_test.go
"istio.io/istio/istioctl/pkg/util/testutil" ) // mockPromAPI lets us mock calls to Prometheus API type mockPromAPI struct { cannedResponse map[string]prometheus_model.Value } func TestMetricsNoPrometheus(t *testing.T) { cases := []testutil.TestCase{ { // case 0 Args: []string{}, ExpectedRegexp: regexp.MustCompile("Error: metrics requires workload name\n"), WantException: true, },
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 16 01:35:47 UTC 2024 - 8K bytes - Viewed (0)