# Functions
BeforeTestExternal initializes test context and is targeted for external APIs.
CheckLeaderTransition waits for leader transition, returning the new leader ID.
CloseClients closes all the clients from the 'clients' list.
MakeMultiNodeClients creates factory of clients that all connect to random members.
MakeSingleNodeClients creates factory of clients that all connect to member 0.
MustNewMember return an inited member with the given name.
NewClientV3 creates a new grpc client connection to the member.
NewCluster returns a launched Cluster with a grpc client connection for each Cluster member.
WithoutGoLeakDetection disables checking whether a testcase leaked a goroutine.
# Constants
RequestWaitTimeout is the time duration to wait for a request to go through or detect leader loss.
# Variables
LocalListenCount integration test uses unique ports, counting up, to listen for each member, ensuring restarted members can listen on the same port again.
UniqueNumber is used to generate unique port numbers Should only be accessed via atomic package methods.