Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetHostsFromMeshConfig (0.34 sec)

  1. pilot/pkg/model/push_context_test.go

    				},
    			},
    		},
    	}
    
    	ps.initServiceRegistry(env, nil)
    	instancesByPort := ps.ServiceIndex.instancesByPort[svc5_1.Key()]
    	assert.Equal(t, len(instancesByPort), 2)
    }
    
    func TestGetHostsFromMeshConfig(t *testing.T) {
    	ps := NewPushContext()
    	env := &Environment{Watcher: mesh.NewFixedWatcher(&meshconfig.MeshConfig{
    		RootNamespace: "istio-system",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
Back to top