The test case DefaultMockServerTest#"when setting a request/response websocket message it should be fired when the event is triggered" fails intermittently since sometimes message hasn't been queued fast enough before the assertion is done, so timeout happens at the second message.poll(). This PR fix this issue.
The test case DefaultMockServerTest#"when setting a request/response websocket message it should be fired when the event is triggered" fails intermittently since sometimes message hasn't been queued fast enough before the assertion is done, so timeout happens at the second message.poll(). This PR fix this issue.