Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestCheckpointContainer (0.19 sec)

  1. pkg/kubelet/server/server_test.go

    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusUnprocessableEntity {
    		t.Errorf("Unexpected non-error reading container logs: %#v", resp)
    	}
    }
    
    func TestCheckpointContainer(t *testing.T) {
    	podNamespace := "other"
    	podName := "foo"
    	expectedContainerName := "baz"
    
    	setupTest := func(featureGate bool) *serverTestFramework {
    		// Enable features.ContainerCheckpoint during test
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    	}
    
    	expected := []*v1.Pod{pods[2], pods[3], pods[4], pods[7]}
    	kubelet.podManager.SetPods(pods)
    	actual := kubelet.filterOutInactivePods(pods)
    	assert.Equal(t, expected, actual)
    }
    
    func TestCheckpointContainer(t *testing.T) {
    	testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */)
    	defer testKubelet.Cleanup()
    	kubelet := testKubelet.kubelet
    
    	fakeRuntime := testKubelet.fakeRuntime
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top