Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for commonNUMAInfoFourNodes (0.34 sec)

  1. pkg/kubelet/cm/topologymanager/policy_restricted_test.go

    		if result != tc.expected {
    			t.Errorf("Expected result to be %t, got %t", tc.expected, result)
    		}
    	}
    }
    
    func TestPolicyRestrictedMerge(t *testing.T) {
    	numaInfo := commonNUMAInfoFourNodes()
    	policy := &restrictedPolicy{bestEffortPolicy{numaInfo: numaInfo}}
    
    	tcases := commonPolicyMergeTestCases(numaInfo.Nodes)
    	tcases = append(tcases, policy.mergeTestCases(numaInfo.Nodes)...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/topologymanager/policy_best_effort_test.go

    		if result != tc.expected {
    			t.Errorf("Expected result to be %t, got %t", tc.expected, result)
    		}
    	}
    }
    
    func TestPolicyBestEffortMerge(t *testing.T) {
    	numaInfo := commonNUMAInfoFourNodes()
    	policy := &bestEffortPolicy{numaInfo: numaInfo}
    
    	tcases := commonPolicyMergeTestCases(numaInfo.Nodes)
    	tcases = append(tcases, policy.mergeTestCases(numaInfo.Nodes)...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/topologymanager/policy_single_numa_node_test.go

    			t.Errorf("Test Case: %s", tc.name)
    			t.Errorf("Expected result to be %v, got %v", tc.expectedResources, actual)
    		}
    	}
    }
    
    func TestPolicySingleNumaNodeMerge(t *testing.T) {
    	numaInfo := commonNUMAInfoFourNodes()
    	policy := singleNumaNodePolicy{numaInfo: numaInfo, opts: PolicyOptions{}}
    
    	tcases := commonPolicyMergeTestCases(numaInfo.Nodes)
    	tcases = append(tcases, policy.mergeTestCases(numaInfo.Nodes)...)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/topologymanager/policy_test.go

    }
    
    func commonNUMAInfoTwoNodes() *NUMAInfo {
    	return &NUMAInfo{
    		Nodes: []int{0, 1},
    		NUMADistances: NUMADistances{
    			0: {10, 11},
    			1: {11, 10},
    		},
    	}
    }
    
    func commonNUMAInfoFourNodes() *NUMAInfo {
    	return &NUMAInfo{
    		Nodes: []int{0, 1, 2, 3},
    		NUMADistances: NUMADistances{
    			0: {10, 11, 12, 12},
    			1: {11, 10, 12, 12},
    			2: {12, 12, 10, 11},
    			3: {12, 12, 11, 10},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:08 UTC 2022
    - 34.6K bytes
    - Viewed (0)
Back to top