diff options
author | Peter Andersson <[email protected]> | 2016-04-11 16:48:21 +0200 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2016-05-02 01:55:24 +0200 |
commit | 10c1adf6028bf770003eb19b0c775ddc0260c950 (patch) | |
tree | 89f17af37158ae7d096afa91a882a86fe7375871 /lib/common_test/test/ct_pre_post_test_io_SUITE_data | |
parent | ad00652a6552068b31703c9137cb2d9b329b2ebb (diff) | |
download | otp-10c1adf6028bf770003eb19b0c775ddc0260c950.tar.gz otp-10c1adf6028bf770003eb19b0c775ddc0260c950.tar.bz2 otp-10c1adf6028bf770003eb19b0c775ddc0260c950.zip |
Tweak pre_post_io test case to run without failing
Diffstat (limited to 'lib/common_test/test/ct_pre_post_test_io_SUITE_data')
-rw-r--r-- | lib/common_test/test/ct_pre_post_test_io_SUITE_data/cth_ctrl.erl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/common_test/test/ct_pre_post_test_io_SUITE_data/cth_ctrl.erl b/lib/common_test/test/ct_pre_post_test_io_SUITE_data/cth_ctrl.erl index b8595b40b9..66a950c178 100644 --- a/lib/common_test/test/ct_pre_post_test_io_SUITE_data/cth_ctrl.erl +++ b/lib/common_test/test/ct_pre_post_test_io_SUITE_data/cth_ctrl.erl @@ -53,8 +53,7 @@ init(_Id, _Opts) -> receive {?MODULE,proceed} -> ok after - 10000 -> - ok + 10000 -> ok end, {ok,[],ct_last}. @@ -66,8 +65,7 @@ terminate(_State) -> receive {?MODULE,proceed} -> ok after - 10000 -> - ok + 10000 -> ok end, stop_external_logger(cth_logger), stop_dispatcher(), @@ -94,7 +92,7 @@ init_logger(Name) -> logger_loop(N) -> ct:log("Logger iteration: ~p", [N]), error_logger:error_report(N), - timer:sleep(250), + timer:sleep(100), logger_loop(N+1). %%%----------------------------------------------------------------- |