Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assertWorkloads (0.13 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	s.addPods(t, "", "pod4", "sa1", map[string]string{"app": "another"}, nil, false, corev1.PodPending)
    	s.assertEvent(t, "//Pod/ns1/pod2")
    	// Still healthy
    	s.assertWorkloads(t, "", workloadapi.WorkloadStatus_HEALTHY, "pod1")
    	// Unhealthy
    	s.assertWorkloads(t, "", workloadapi.WorkloadStatus_UNHEALTHY, "pod2", "pod3")
    	// pod3 is pending but have be assigned IP
    	// pod4 is pending and not have IP
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top