Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMilliCPU (0.12 sec)

  1. pkg/kubelet/kuberuntime/helpers_linux_test.go

    	t.Run("sharesToMilliCPUTest", func(t *testing.T) {
    		var testMilliCPU int64
    		for testMilliCPU = 0; testMilliCPU <= 2000; testMilliCPU++ {
    			shares := int64(cm.MilliCPUToShares(testMilliCPU))
    			if expectedShares, found := knownMilliCPUToShares[testMilliCPU]; found {
    				if shares != expectedShares {
    					t.Errorf("Test milliCPIToShares: Input milliCPU %v, expected shares %v, but got %v", testMilliCPU, expectedShares, shares)
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top