WIP do not merge: DISPATCH-1968: tcp self test echo server exits when data comes in#1045
Closed
ChugR wants to merge 1 commit intoapache:masterfrom
Closed
WIP do not merge: DISPATCH-1968: tcp self test echo server exits when data comes in#1045ChugR wants to merge 1 commit intoapache:masterfrom
ChugR wants to merge 1 commit intoapache:masterfrom
Conversation
Contributor
Author
|
New pr coming right up |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This patch is for testing DISPATCH-1968 only.
In this patch the tcp echo server used in system_tests_tcp_adaptor is modified to close the connection to the tcp connector as soon as any data is received.
The tcp tests normally close the tcpListener's connection from the echo client and the closure propagates through dispatch so that the connection through the tcpConnector is initiated from the dispatch side. Normal self tests never close the tcpConnector's connection from the network side.
This self test patch provides an easy test bed for investigating what goes wrong when a server disconnects.