Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for expectedSvcList (0.11 sec)

  1. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			},
    			MeshExternal: true,
    			Resolution:   model.DNSLB,
    		},
    	}
    
    	svcList := controller.Services()
    	if len(svcList) != len(expectedSvcList) {
    		t.Fatalf("Expecting %d service but got %d\r\n", len(expectedSvcList), len(svcList))
    	}
    	for i, exp := range expectedSvcList {
    		if exp.Hostname != svcList[i].Hostname {
    			t.Fatalf("got hostname of %dst service, got:\n%#v\nwanted:\n%#v\n", i+1, svcList[i].Hostname, exp.Hostname)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
Back to top