Documentation ¶
Overview ¶
Package pickfirst contains helper functions to check for pickfirst load balancing of RPCs in tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckRPCsToBackend ¶
CheckRPCsToBackend makes a bunch of RPCs on the given ClientConn and verifies if the RPCs are routed to a peer matching wantAddr.
Returns a non-nil error if context deadline expires before all RPCs begin to be routed to the peer matching wantAddr, or if the backend returns RPC errors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.