Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCpuWeightToCpuShares (0.37 sec)

  1. pkg/kubelet/cm/cgroup_manager_linux_test.go

    			t.Errorf("cpuShares: %v, expectedCpuWeight: %v, actualCpuWeight: %v",
    				testCase.cpuShares, testCase.expectedCpuWeight, actual)
    		}
    	}
    }
    
    func TestCpuWeightToCpuShares(t *testing.T) {
    	testCases := []struct {
    		cpuWeight         uint64
    		expectedCpuShares uint64
    	}{
    		{
    			cpuWeight:         1,
    			expectedCpuShares: 2,
    		},
    		{
    			cpuWeight:         2,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top