Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for pluginUseCount (0.1 sec)

  1. pkg/controller/volume/attachdetach/metrics/metrics_test.go

    	}
    	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 {
    		t.Errorf("Expected at least in-use volume metric got %d", pluginUseCount)
    	}
    }
    
    func TestTotalVolumesMetricCollection(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top