- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestStaticPolicyName (0.51 sec)
-
pkg/kubelet/cm/cpumanager/policy_static_test.go
pod: spt.pod, // accessed in read-only expErr: spt.expErr, expCPUAlloc: spt.expCPUAlloc, expCSet: spt.expCSet.Clone(), } } func TestStaticPolicyName(t *testing.T) { policy, _ := NewStaticPolicy(topoSingleSocketHT, 1, cpuset.New(), topologymanager.NewFakeManager(), nil) policyName := policy.Name() if policyName != "static" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 40.8K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/policy_static_test.go
if !reflect.DeepEqual(err, testCase.expectedError) { t.Fatalf("The actual error: %v is different from the expected one: %v", err, testCase.expectedError) } }) } } func TestStaticPolicyName(t *testing.T) { testCases := []testStaticPolicy{ { description: "should return the correct policy name", systemReserved: systemReservedMemory{ 0: map[v1.ResourceName]uint64{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Sep 17 05:49:15 UTC 2023 - 100.4K bytes - Viewed (0)