Skip to content

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
ChugR:crolke-DISPATCH-1968
Closed

WIP do not merge: DISPATCH-1968: tcp self test echo server exits when data comes in#1045
ChugR wants to merge 1 commit intoapache:masterfrom
ChugR:crolke-DISPATCH-1968

Conversation

@ChugR
Copy link
Copy Markdown
Contributor

@ChugR ChugR commented Feb 18, 2021

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.

@ChugR ChugR requested review from kgiusti and ted-ross February 18, 2021 17:07
@ChugR ChugR added the WIP PR is a Work In Progress label Feb 18, 2021
@ChugR ChugR requested a review from ganeshmurthy February 18, 2021 17:07
@ChugR
Copy link
Copy Markdown
Contributor Author

ChugR commented Feb 19, 2021

New pr coming right up

@ChugR ChugR closed this Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WIP PR is a Work In Progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant