Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for EnsureImageExists (0.16 sec)

  1. pkg/kubelet/images/image_manager_test.go

    	// Next two EnsureImageExists should be blocked because maxParallelImagePulls is hit
    	for i := 0; i < 2; i++ {
    		wg.Add(1)
    		go func() {
    			_, _, err := puller.EnsureImageExists(ctx, pod, container, nil, nil, "")
    			assert.Nil(t, err)
    			wg.Done()
    		}()
    	}
    	time.Sleep(1 * time.Second)
    	fakeRuntime.AssertCallCounts("PullImage", 5)
    
    	// Unblock two image pulls from runtime, and two EnsureImageExists can go through
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top