test: record peers by hostname in xds client ()

This commit is contained in:
Eric Gribkoff
2020-02-28 14:51:49 -08:00
committed by GitHub
parent e139b475f3
commit 2cd9da628a

@ -94,7 +94,7 @@ func (s *statsService) GetClientStats(ctx context.Context, in *testpb.LoadBalanc
select {
case r := <-watcher.c:
if r != nil {
watcher.rpcsByPeer[(*r).GetServerId()]++
watcher.rpcsByPeer[(*r).GetHostname()]++
} else {
watcher.numFailures++
}