Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assertAddresses (0.11 sec)

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

    	s.assertAddresses(t, s.addrXdsName("10.0.0.1"), "pod1", "pod2", "pod4", "svc1")
    	s.assertEvent(t, s.podXdsName("pod4"))
    	s.clearEvents()
    
    	// Delete it, should remove from the Service as well
    	s.deletePod(t, "pod4")
    	s.assertAddresses(t, "", "pod1", "pod2", "pod3", "svc1")
    	s.assertAddresses(t, s.addrXdsName("10.0.0.1"), "pod1", "pod2", "svc1")
    	s.assertAddresses(t, s.addrXdsName("127.0.0.4")) // Should not be accessible anymore
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_workloadentry_test.go

    		map[string]string{
    			constants.ManagedGatewayLabel: constants.ManagedGatewayMeshControllerLabel,
    			constants.GatewayNameLabel:    "waypoint-ns",
    		}, nil, true, corev1.PodRunning)
    	s.assertAddresses(t, "", "name1", "name2", "name3", "waypoint-ns-pod")
    	s.assertEvent(t, s.podXdsName("waypoint-ns-pod"))
    	s.addWaypoint(t, "10.0.0.2", "waypoint-ns", constants.AllTraffic, true)
    	s.ns.CreateOrUpdate(&corev1.Namespace{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top