java-dogstatsd-client icon indicating copy to clipboard operation
java-dogstatsd-client copied to clipboard

Improve robustness of stream socket tests

Open vickenty opened this issue 1 year ago • 0 comments

Make the test more robust by waiting for the expected error state to be reached. "broken pipe" is the initial error sender gets when trying to write to the disconnected socket, but it can not be reliably observed due to lack of synchronization between the sender thread and the test body.

vickenty avatar Mar 18 '24 19:03 vickenty