diff options
author | Siri Hansen <[email protected]> | 2012-07-11 11:14:23 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2012-08-17 11:16:21 +0200 |
commit | 06ea28e87e2edf8c26cd27de9c913a7dbf615d29 (patch) | |
tree | 2a474ea573197553e376bbed0c4e495c7bc8e665 /README.systemtap.md | |
parent | 1bf4656b1f7802af453f46085946ddea53119559 (diff) | |
download | otp-06ea28e87e2edf8c26cd27de9c913a7dbf615d29.tar.gz otp-06ea28e87e2edf8c26cd27de9c913a7dbf615d29.tar.bz2 otp-06ea28e87e2edf8c26cd27de9c913a7dbf615d29.zip |
[common_test] Don't abort test if opening of connection fails
When opening a connection, the connection process would link itself to
ct_util_server before calling the init callback, e.g. in ct_netconfc,
ct_telnet etc. If the init callback failed, then ct_util_server would
get the 'EXIT'. ct_util looks up the pid in the connection table, but
since the connection is not yet registered it is not found. ct_util
does not know which process it is and will thus die - aborting the
complete test run.
This commit moves the link(CtUtilServer) after the init callback, so a
crash in the init callback will not be detected by ct_util_server -
the caller process, however, will get a 'DOWN' message due to
monitoring and ct_gen_conn:start will give an error return.
Diffstat (limited to 'README.systemtap.md')
0 files changed, 0 insertions, 0 deletions