func doLDS(t *testing.T, v2c *v2Client, fakeServer *fakeserver.Server) {
	v2c.addWatch(ldsURL, goodLDSTarget1)
	if _, err := fakeServer.XDSRequestChan.Receive(); err != nil {
		t.Fatalf("Timeout waiting for LDS request: %v", err)
	}
}
// doLDS makes a LDS watch, and waits for the response and ack to finish.
//
// This is called by RDS tests to start LDS first, because LDS is a
// pre-requirement for RDS, and RDS handle would fail without an existing LDS
// watch.
doLDS makes a LDS watch, and waits for the response and ack to finish.

This is called by RDS tests to start LDS first, because LDS is a
pre-requirement for RDS, and RDS handle would fail without an existing LDS
watch.
// doLDS makes a LDS watch and waits for the response and ack to finish . // // This is called by RDS tests to start LDS first because LDS is a // pre - requirement for RDS and RDS handle would fail without an existing LDS // watch .
func doLDS(t *testing.T, v2c *v2Client, fakeServer *fakeserver.Server) {
	v2c.addWatch(ldsURL, goodLDSTarget1)
	if _, err := fakeServer.XDSRequestChan.Receive(); err != nil {
		t.Fatalf("Timeout waiting for LDS request: %v", err)
	}
}
func doLDS ( t * testing . T , v2c * v2Client , fakeServer * fakeserver . Server ) { v2c . addWatch ( ldsURL , goodLDSTarget1 ) if _ , err := fakeServer . XDSRequestChan . Receive ( ) ; err != nil { t . Fatalf ( " " , err ) } }
doLDS makes a LDS watch, and waits for the response and ack to finish.
doLDS makes a LDS watch and waits for the response and ack to finish .