stubserver: add support to optionally pass in a grpc.Server
or xds.GRPCServer
#7291
Open
Description
There are tests which currently implement their own version of the test service instead of using the stub server because they have to register the test service on a server (grpc.Server
or xds.GRPCServer
) that they create in the test. If we add support to pass in an optional server to the stub server, these tests could start using the latter.