diff options
author | Siri Hansen <[email protected]> | 2013-05-24 12:06:16 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2013-05-24 15:44:48 +0200 |
commit | 28f3a4a5713487cb6ade48f2d142d8c2d5b7ac6e (patch) | |
tree | 61a05a0fa71e43f05250fe060a3c7eab612d50f0 /bootstrap | |
parent | 01eb20066918e107811d01f43b97e3925f894dbd (diff) | |
download | otp-28f3a4a5713487cb6ade48f2d142d8c2d5b7ac6e.tar.gz otp-28f3a4a5713487cb6ade48f2d142d8c2d5b7ac6e.tar.bz2 otp-28f3a4a5713487cb6ade48f2d142d8c2d5b7ac6e.zip |
[common_test] Unregister connection if killed
The symptom of this bug was that a (named) telnet connection which was
open and hanging during a timetrap timeout could no longer be opened
again in subsequent test cases.
Since the connection was hanging, ct_telnet:close/1 which was called
during end_per_testcase would fail (timeout) and cause common_test to
brutally kill the connection. The bug was that the connection was not
unregistered at this point. When trying to open the connection again
in the next testcase, common_test attempted to reuse the same
connection since it had not been unregistered. This failed since the
connection in fact was dead.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions