Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestCreateMirrorPod (0.21 sec)

  1. pkg/kubelet/pod/mirror_client_test.go

    	for _, podFullName := range failedCases {
    		_, _, err := kubecontainer.ParsePodFullName(podFullName)
    		if err == nil {
    			t.Errorf("expected error when parsing the full name, got none")
    		}
    	}
    }
    
    func TestCreateMirrorPod(t *testing.T) {
    	const (
    		testNodeName = "test-node-name"
    		testNodeUID  = types.UID("test-node-uid-1234")
    		testPodName  = "test-pod-name"
    		testPodNS    = "test-pod-ns"
    		testPodHash  = "123456789"
    	)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 08 12:44:09 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    		_, err = kubelet.validateContainerLogStatus("podName", podStatus, "blah", false)
    		assert.Error(t, err, fmt.Sprintf("[case %d] invalid container name should cause an error", i))
    	}
    }
    
    func TestCreateMirrorPod(t *testing.T) {
    	tests := []struct {
    		name       string
    		updateType kubetypes.SyncPodType
    	}{
    		{
    			name:       "SyncPodCreate",
    			updateType: kubetypes.SyncPodCreate,
    		},
    		{
    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