Skip to content

TestTcpSocketWriter.TestEventsQueuedWhileWaitingForInitialConnection was false positive#16

Open
delixfe wants to merge 1 commit intosplunk:masterfrom
delixfe:tcpSocketWriter-blocking-ctor
Open

TestTcpSocketWriter.TestEventsQueuedWhileWaitingForInitialConnection was false positive#16
delixfe wants to merge 1 commit intosplunk:masterfrom
delixfe:tcpSocketWriter-blocking-ctor

Conversation

@delixfe
Copy link
Copy Markdown

@delixfe delixfe commented Mar 11, 2016

If the TcpSocketWriter cannot connect to the server then it blocks the calling thread until it can connect...

According to the unit test TestEventsQueuedWhileWaitingForInitialConnection that should not happen. But the unit test was a false positive. It opened a listener to extract the port number, but never closed the listener. Thus a listener was available ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant