There is a race between the server handler finishing before the client handler in the ServerSendsMultipleMessages test, which happens because the client handler sends a message and then immediately returns, which in turn will cause runWithServers to shut down the server. If that happens before the server handler has had a chance to complete, the test fails because the server handler can't read the message from the client. We should update this test so that the client handler waits for some form of confirmation from the server end before exiting.
Race in ServerSendsMultipleMessages unit test causes occasional test failures
- Votes:
-
0 Vote for this issue
- Watchers:
-
2 Start watching this issue
- Created:
- Updated:
- Resolved: