Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for dswCount (0.09 sec)

  1. pkg/kubelet/pluginmanager/metrics/metrics_test.go

    	if len(count) != 2 {
    		t.Errorf("getPluginCount failed. Expected <2> states, got <%d>", len(count))
    	}
    
    	dswCount, ok := count["desired_state_of_world"]
    	if !ok {
    		t.Errorf("getPluginCount failed. Expected <desired_state_of_world>, got nothing")
    	}
    
    	fakePluginCount := dswCount["fake/path/plugin.sock"]
    	if fakePluginCount != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 12 12:48:20 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/metrics/metrics_test.go

    	if len(count) != 2 {
    		t.Errorf("getVolumeCount failed. Expected <2> states, got <%d>", len(count))
    	}
    
    	dswCount, ok := count["desired_state_of_world"]
    	if !ok {
    		t.Errorf("getVolumeCount failed. Expected <desired_state_of_world>, got nothing")
    	}
    
    	fakePluginCount := dswCount["fake-plugin"]
    	if fakePluginCount != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. pkg/controller/volume/attachdetach/metrics/metrics_test.go

    	}
    
    	dswCount, ok := totalVolumesMap["desired_state_of_world"]
    	if !ok {
    		t.Errorf("Expected desired_state_of_world, got nothing")
    	}
    
    	fakePluginCount := dswCount["fake-plugin"]
    	if fakePluginCount != 1 {
    		t.Errorf("Expected 1 fake-plugin volume in DesiredStateOfWorld, got %d", fakePluginCount)
    	}
    
    	aswCount, ok := totalVolumesMap["actual_state_of_world"]
    	if !ok {
    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