The REST unit tests spin up a local test server using the respective environment (i.e. Netty, Glassfish Grizzly, Tomcat, Undertow).
The underlying OS can be too slow to release the port/address that was blocked by a test server instance after the server has run through its stop method. In effect, the port release is asynchronous but cannot be waited upon effectively via any API.
Thus, it can occasionally happen that the test server tries to start although the port is not released by the OS yet.
Acceptance Criteria (Required on creation)
Engine Rest UNIT tests
) are stable regardingAddress already in use
exceptions.Hints
java.net.BindException: Address already in use
Links
Breakdown
Dev2QA handover