Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setPodUnready (0.35 sec)

  1. pilot/pkg/serviceregistry/serviceregistry_test.go

    			Address: pod.Status.PodIP,
    			Port:    80,
    		}}
    		expectServiceEndpoints(t, fx, expectedSvc, 80, instances)
    
    		// when pods become unready, we should see the instances being removed from the registry
    		setPodUnready(pod)
    		_, err := kube.CoreV1().Pods(pod.Namespace).UpdateStatus(context.TODO(), pod, metav1.UpdateOptions{})
    		if err != nil {
    			t.Fatal(err)
    		}
    		expectServiceEndpoints(t, fx, expectedSvc, 80, []EndpointResponse{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
Back to top