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 |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | core | Keywords: | tests |
| Cc: | Branch: | branches/faster-serveraddresstcp4-failure-5899 | |
| Author: | exarkun | Launchpad Bug: |
Description
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
Note: See
TracTickets for help on using
tickets.
