Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectedStatus (0.16 sec)

  1. pkg/kubelet/kubelet_test.go

    		name               string
    		containerName      string
    		checkpointLocation string
    		expectedStatus     error
    		expectedLocation   string
    	}{
    		{
    			name:               "Checkpoint with wrong container name",
    			containerName:      wrongContainerName,
    			checkpointLocation: "",
    			expectedStatus:     fmt.Errorf("container %s not found", wrongContainerName),
    			expectedLocation:   "",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_image_test.go

    	images := []string{"1111", "2222", "3333"}
    	fakeImageService.SetFakeImages(images)
    
    	actualStats, err := fakeManager.ImageStats(ctx)
    	assert.NoError(t, err)
    	expectedStats := &kubecontainer.ImageStats{TotalStorageBytes: imageSize * uint64(len(images))}
    	assert.Equal(t, expectedStats, actualStats)
    }
    
    func TestImageStatsWithError(t *testing.T) {
    	ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top