aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/test/ttb_SUITE.erl
AgeCommit message (Collapse)Author
2016-04-22observer: add debug info to ttb_SUITEDan Gudmundsson
2016-03-15update copyright-yearHenrik Nord
2016-02-17Eliminate use of test_server.hrl and test_server_line.hrlBjörn Gustavsson
As a first step to removing the test_server application as as its own separate application, change the inclusion of test_server.hrl to an inclusion of ct.hrl and remove the inclusion of test_server_line.hrl.
2015-06-18Change license text to APLv2Bruce Yinhe
2013-03-14[observer] Add debug printouts in ttb_SUITESiri Hansen
To troubleshoot failed test case trace_resumed_after_node_restart on windows.
2013-03-04[observer] Extend timer to allow trace msgs to arrive over tcp/ipSiri Hansen
Some tests fail (mostly on windows) every now and then with too few trace messages in log. Extending the timer from 200 to 500 ms to see if this is the reason. Plus removing a compiler warning in ttb_SUITE.
2011-10-27Adjust ttb_SUITE to work better on windowsSiri Hansen
There is a problem with long paths on windows, which causes some of the ttb logs in this suite not to be created. To go around this, the original priv_dir from the Config is no longer used for writing the logs. Instead a new priv_dir is created in the data_dir - which makes the path much shorter. There is also a problem caused by the lower resolution of the system clock on windows. It makes the test cases for sorting trace messages fail. To get around this a sleep of 2 ms is added in "appropriate places", and also the messages sent between client and server when creating the trace log for these test cases is now better synched. The cleanup functions, which terminate slave nodes, was called in end_per_testcase. However, it seems to be a bug in the test_server which causes this to hang if the test case failed with a timetrap_timeout. Workaround for this is to do the cleanup in init_per_testcase instead - i.e. make sure that nodes that are to be started by the test case do not already live when the test case starts.
2011-10-27Cleanup after testcases in ttb_SUITESiri Hansen
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.
2011-08-30Support for stopped and resumed tracing.Andrzej Telezynski
2011-08-30More robust testing of tracing with 'local' option.Andrzej Telezynski
2011-08-30Test for: (BUGFIX) Error with ip tracing to wrap sets.Andrzej Telezynski
2011-08-30Stop option 'return' changed to 'return_fetch_dir'Andrzej Telezynski
2011-08-30It is safe to change cwd on control node or remote nodes while tracingAndrzej Telezynski
2011-08-30additional tests for ttb modulePiotr Dorobisz
2011-08-30new tests for ttb modulePiotr Dorobisz
2011-08-30updated OTP testsPiotr Dorobisz
2011-02-17Rename Suite Callback to Common Test HookLukas Larsson
2011-02-17Fix formatting for observerLukas Larsson
2011-02-17Add init_per_suite and end_per_suiteLukas Larsson
2011-02-17Add ts_install_scb to suite/0Lukas Larsson
2011-02-17Update observer tests to conform with common_test standardLukas Larsson
2011-02-17Update all fin_per_testcase to end_per_testcase.Lukas Larsson
2010-03-23OTP-8533 Update observer test suite for R14Björn Gustavsson