twisted.internet.test.test_tcp.TCPTransportServerAddressTestMixin._testServerAddress hangs for the test method timeout when it fails
|Reported by:||exarkun||Owned by:||exarkun|
(github, coverage, patch, buildbot, log)
This test method helper relies on getConnectedClientAndServer to stop the reactor after the client/server connection is lost.
The connection is closed at the end of the nested connected callback inside _testServerAddress. However, if any of the assertions in connected fail, the connection won't be closed and the test will hang until the timeout triggers.
Change History (6)
comment:2 Changed 4 years ago by exarkun
- Branch set to branches/faster-serveraddresstcp4-failure-5899
comment:4 Changed 4 years ago by exarkun
- Keywords review added
- Owner exarkun deleted
- Status changed from assigned to new