aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-06-18 17:37:03 +0200
committerIngela Anderton Andin <[email protected]>2019-06-18 17:37:03 +0200
commit1f3dde12d06bb325f51ecba2bbd48b4040474136 (patch)
tree7e278663676afaa7b85636c59abd85b9fff101c9 /lib/ssl/test
parent7fe7fa3dde556b5b92522f8279d465bb52baf1f6 (diff)
downloadotp-1f3dde12d06bb325f51ecba2bbd48b4040474136.tar.gz
otp-1f3dde12d06bb325f51ecba2bbd48b4040474136.tar.bz2
otp-1f3dde12d06bb325f51ecba2bbd48b4040474136.zip
ssl: Fix hibernation bug
Diffstat (limited to 'lib/ssl/test')
-rw-r--r--lib/ssl/test/ssl_basic_SUITE.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ssl/test/ssl_basic_SUITE.erl b/lib/ssl/test/ssl_basic_SUITE.erl
index 4452adaea7..b23ef74c50 100644
--- a/lib/ssl/test/ssl_basic_SUITE.erl
+++ b/lib/ssl/test/ssl_basic_SUITE.erl
@@ -3769,7 +3769,7 @@ hibernate(Config) ->
ssl_test_lib:check_result(Server, ok, Client, ok),
- timer:sleep(1500),
+ ct:sleep(1500),
{current_function, {erlang, hibernate, 3}} =
process_info(Pid, current_function),
@@ -3805,6 +3805,8 @@ hibernate_right_away(Config) ->
[{port, Port1}, {options, [{hibernate_after, 0}|ClientOpts]}]),
ssl_test_lib:check_result(Server1, ok, Client1, ok),
+
+ ct:sleep(1000), %% Schedule out
{current_function, {erlang, hibernate, 3}} =
process_info(Pid1, current_function),