- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testNodeMetric (0.13 sec)
-
pkg/controller/volume/attachdetach/metrics/metrics_test.go
nodeUseMap := metricCollector.getVolumeInUseCount(logger) if len(nodeUseMap) < 1 { t.Errorf("Expected one volume in use got %d", len(nodeUseMap)) } testNodeMetric := nodeUseMap["metric-test-host"] pluginUseCount, ok := testNodeMetric["fake-plugin:pd.csi.storage.gke.io"] if !ok { t.Errorf("Expected fake plugin pvc got nothing") } if pluginUseCount < 1 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 6.1K bytes - Viewed (0)