You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently run all tests sequentially because we bind to the same set of ports throughout different tests. We can run the tests in parallel if we bind the sockets to port 0 - that would force the kernel to automatically assign the next free port for the socket.
The text was updated successfully, but these errors were encountered:
So we can have portChan as a member of MockServer. Then once we receive on this channel it is guaranteed that there's a listener waiting for connections. This means we can also get rid of the time.Sleeps - those were there to make sure the listener instantiates before we try to connect with a client.
We currently run all tests sequentially because we bind to the same set of ports throughout different tests. We can run the tests in parallel if we bind the sockets to port 0 - that would force the kernel to automatically assign the next free port for the socket.
The text was updated successfully, but these errors were encountered: