ctex v0.1.0 CommonTest.Network

Helpers for working with the network inside a test suite.

Link to this section Summary

Functions

Acquires a random TCP port number that the local node or a child node could listen on

Link to this section Functions

Link to this function random_port()
random_port() :: {:ok, pos_integer()} | {:error, term()}

Acquires a random TCP port number that the local node or a child node could listen on.