aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
AgeCommit message (Collapse)Author
2016-06-09[ct test] Do reload_config instead of get_configSiri Hansen
The test case config_dynamic_SUITE:test_localtime_update sometimes failed on slow machines, since the initial value of 'localtime' is fetched with ct:get_config instead of ct:reload_config. The value is then from the test run start, not from the time of the ct:get_config call. This is now corrected.
2016-06-09Merge branch 'siri/cuddle-master'Siri Hansen
* siri/cuddle-master: [ct test] Wait for event receiver to be unregistered [ct test] Flush messages from old client after close in telnet server [ct test] Use monitor instead of ct:sleep [ct test] Check that crypto is loaded, or skip netconf tests [ct test] Reduce amount of data in netconfc1_SUITE:get_a_lot
2016-06-09Merge branch 'zandra/common_test/unmatched_returns/OTP-13345'Zandra Hird
* zandra/common_test/unmatched_returns/OTP-13345: (23 commits) ct logs: Fix unmatched_return warnings ct_util: Fix unmatched_return warnings erl2html2: Fix unmatched_return warnings cth_conn_log: Fix unmatched_return warnings ct_webtool: Fix unmatched_return warnings ct_telnet: Fix unmatched_return warnings ct_ssh: Fix unmatched_return warnings ct_snmp: Fix unmatched_return warnings ct_slave: Fix unmatched_return warnings ct_rpc: Fix unmatched_return warnings ct_repeat: Fix unmatched_return warnings ct_release_test: Fix unmatched_return warnings ct_property_test: Fix unmatched_return warnings ct_master: Fix unmatched_return warnings ct_hooks_lock: Fix unmatched_return warnings ct_hooks: Fix unmatched_return warnings ct_groups: Fix unmatched_return warnings ct_ftp: Fix unmatched_return warnings ct_framework: Fix unmatched_return warnings ct_config: Fix unmatched_return warnings ...
2016-06-09ct logs: Fix unmatched_return warningsZandra
2016-06-09[ct test] Wait for event receiver to be unregisteredSiri Hansen
To avoid badarg when two tests are run within the same test case.
2016-06-09[ct test] Flush messages from old client after close in telnet serverSiri Hansen
Since the same erlang process is used for subsequent telnet connections, messages from old clients must be flushed after close.
2016-06-09[ct test] Use monitor instead of ct:sleepSiri Hansen
ct_gen_conn_SUITE_data/conn_SUITE.erl uses a lot of ct:sleep(100) when waiting for processes to exit. This commit removes all the sleeps and introducess monitor instead.
2016-06-09[ct test] Check that crypto is loaded, or skip netconf testsSiri Hansen
Tests for ct_netconfc are failed instead of skipped if crypto can not be loaded. This is now corrected.
2016-06-09[ct test] Reduce amount of data in netconfc1_SUITE:get_a_lotSiri Hansen
This test case often fails with table_trans_timeout in the netconf server (ns.erl) on slow machines. The amount of data was originally reduced by commit 976214f8d738d4852348496df79f84264d899aba, but was faulty reverted by commit 171d7e2a161ef9270240aff0fa15a285df21c1ef. It is now reduced again...
2016-06-08Update ct:reload_config docs since {error, Reason} can be returnedZandra Hird
2016-06-08Merge branch 'zandra/test_server/unmatched_returns/OTP-13345'Zandra Hird
* zandra/test_server/unmatched_returns/OTP-13345: vts - Fix unmatched_return warnings test_server_sup - Fix unmatched_return warnings test_server_node - Fix unmatched_return warnings test_server_io - Fix unmtached_return warnings test_server_gl - Fix unmatched_return warnings test_server_ctrl - Fix unmatched_return warnings test_server - fix unmatched_return warnings remove unused purify functions
2016-06-08Merge branch 'peppe/common_test/log_tests'Peter Andersson
* peppe/common_test/log_tests: Write suite that tests the API for printing to log
2016-06-08Merge branch 'peppe/common_test/fix_failing_tests'Peter Andersson
* peppe/common_test/fix_failing_tests: Make sure test node shuts down before skipping suite Measure file i/o overhead and skip test if the speed is too slow Skip test cases if cover or debug is running
2016-06-07vts - Fix unmatched_return warningsZandra
2016-06-07test_server_sup - Fix unmatched_return warningsZandra
2016-06-07test_server_node - Fix unmatched_return warningsZandra Hird
2016-06-07test_server_io - Fix unmtached_return warningsZandra
2016-06-07test_server_gl - Fix unmatched_return warningsZandra
2016-06-07test_server_ctrl - Fix unmatched_return warningsZandra
2016-06-07test_server - fix unmatched_return warningsZandra
2016-06-07Write suite that tests the API for printing to logPeter Andersson
2016-06-07remove unused purify functionsZandra
2016-06-07ct_util: Fix unmatched_return warningsZandra
2016-06-07erl2html2: Fix unmatched_return warningsZandra
2016-06-07cth_conn_log: Fix unmatched_return warningsZandra
2016-06-07ct_webtool: Fix unmatched_return warningsZandra
2016-06-07ct_telnet: Fix unmatched_return warningsZandra
2016-06-07ct_ssh: Fix unmatched_return warningsZandra
2016-06-07ct_snmp: Fix unmatched_return warningsZandra
2016-06-07ct_slave: Fix unmatched_return warningsZandra
2016-06-07ct_rpc: Fix unmatched_return warningsZandra
2016-06-07ct_repeat: Fix unmatched_return warningsZandra
2016-06-07ct_release_test: Fix unmatched_return warningsZandra
2016-06-07ct_property_test: Fix unmatched_return warningsZandra
2016-06-07ct_master: Fix unmatched_return warningsZandra
2016-06-07ct_hooks_lock: Fix unmatched_return warningsZandra
2016-06-07ct_hooks: Fix unmatched_return warningsZandra
2016-06-07ct_groups: Fix unmatched_return warningsZandra
2016-06-07ct_ftp: Fix unmatched_return warningsZandra
2016-06-07ct_framework: Fix unmatched_return warningsZandra
2016-06-07ct_config: Fix unmatched_return warningsZandra
2016-06-07ct_run: Fix unmatched_return warningsZandra
2016-06-07Make sure test node shuts down before skipping suitePeter Andersson
2016-06-06Measure file i/o overhead and skip test if the speed is too slowPeter Andersson
2016-06-02Revert "Prepare release"Erlang/OTP
This reverts commit e020f75c10410a6943cd055bfa072a2641eab7da.
2016-06-02Prepare releaseErlang/OTP
2016-06-01Merge branch 'siri/cuddle-master'Siri Hansen
* siri/cuddle-master: Change ct:sleep to timer:sleep where scaling is not wanted Don't generate ssh key files in netconf client test Ignore data received in break mode in test telnet_server Wait for process to die before next call Retry ct_telnet:get_data if no data is received after short wait Don't throw rest of line when NOP is received in test telnet_server Change ct:sleep to timer:sleep in telnet_server
2016-06-01Skip test cases if cover or debug is runningPeter Andersson
2016-05-31Remove noop log call in common_testZandra
2016-05-31ct: Fix unmatched_return warningsZandra