aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/test/server.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2011-10-21 11:06:18 +0200
committerSiri Hansen <[email protected]>2011-10-27 09:38:23 +0200
commita527bdefdd7232a4f9d180d097dbec383542f245 (patch)
tree275e7caccd8cab19044a19a236d5f9c790aa75de /lib/observer/test/server.erl
parent86e4b23fb4a11f18834e6b1be76642fbd71b9cf7 (diff)
downloadotp-a527bdefdd7232a4f9d180d097dbec383542f245.tar.gz
otp-a527bdefdd7232a4f9d180d097dbec383542f245.tar.bz2
otp-a527bdefdd7232a4f9d180d097dbec383542f245.zip
Cleanup after testcases in ttb_SUITE
Slave nodes were earlier stopped inside each test case. If a test case failed before this point, a slave node would survive and it might interfere with the next test case causing multiple failures. This commit moves the stopping of slave nodes out to a separate function for each test case - called during end_per_testcase. A minor correction is also done in ttb:ensure_no_overloaded_nodes - the reply message sent back from the ttb process is tagged so only the expected message will be picked from the message queue. Otherwise, for instance nodedown messages from the monitoring of slave nodes (by the test cases) could be received here. Finally, the sleep timer when waiting for trace messages to arrive over tcp/ip is extended a bit since test cases sometimes failed with missing trace messages here.
Diffstat (limited to 'lib/observer/test/server.erl')
0 files changed, 0 insertions, 0 deletions