Skip to content

TestClusterPortAllocator Methods

Default ITestClusterPortAllocator implementation, which tries to allocate unused ports.

AllocateConsecutivePortPairs(int)

View source
public (int, int) TestClusterPortAllocator.AllocateConsecutivePortPairs(int numPorts = 5)
Allocates consecutive port pairs.

Parameters

numPortsint
The number of consecutive ports to allocate.

Returns

Base ports for silo and gateway endpoints.

Dispose

View source
public void Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.