Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestCheckpointStateHelpers (0.18 sec)

  1. pkg/kubelet/cm/memorymanager/state/state_checkpoint_test.go

    	cs2, err := NewCheckpointState(testingDir, testingCheckpoint, "static")
    	assert.NoError(t, err, "could not create testing checkpointState instance")
    
    	assertStateEqual(t, cs2, expectedState)
    }
    
    func TestCheckpointStateHelpers(t *testing.T) {
    	testCases := []struct {
    		description  string
    		machineState NUMANodeMap
    		assignments  ContainerMemoryAssignments
    	}{
    		{
    			description: "One container",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/cpumanager/state/state_checkpoint_test.go

    			if err != nil {
    				t.Fatalf("could not create testing checkpointState instance: %v", err)
    			}
    
    			AssertStateEqual(t, cs2, tc.expectedState)
    		})
    	}
    }
    
    func TestCheckpointStateHelpers(t *testing.T) {
    	testCases := []struct {
    		description   string
    		defaultCPUset cpuset.CPUSet
    		assignments   map[string]map[string]cpuset.CPUSet
    	}{
    		{
    			description:   "One container",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
Back to top