Ticket #5899 defect closed fixed
twisted.internet.test.test_tcp.TCPTransportServerAddressTestMixin._testServerAddress hangs for the test method timeout when it fails
|Reported by:||exarkun||Owned by:||exarkun|
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.