aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/ct_pre_post_test_io_SUITE_data/cth_ctrl.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2016-04-11 16:48:21 +0200
committerPeter Andersson <[email protected]>2016-05-02 01:55:24 +0200
commit10c1adf6028bf770003eb19b0c775ddc0260c950 (patch)
tree89f17af37158ae7d096afa91a882a86fe7375871 /lib/common_test/test/ct_pre_post_test_io_SUITE_data/cth_ctrl.erl
parentad00652a6552068b31703c9137cb2d9b329b2ebb (diff)
downloadotp-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/cth_ctrl.erl')
-rw-r--r--lib/common_test/test/ct_pre_post_test_io_SUITE_data/cth_ctrl.erl8
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).
%%%-----------------------------------------------------------------