Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestUpdateReadiness (0.21 sec)

  1. pkg/kubelet/prober/prober_manager_test.go

    	// This code corresponds to an extract from kubelet.syncLoopIteration()
    	ready := update.Result == results.Success
    	m.statusManager.SetContainerReadiness(update.PodUID, update.ContainerID, ready)
    }
    
    func TestUpdateReadiness(t *testing.T) {
    	testPod := getTestPod()
    	setTestProbe(testPod, readiness, v1.Probe{})
    	m := newTestManager()
    	defer cleanup(t, m)
    
    	// Start syncing readiness without leaking goroutine.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top