aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/init_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-03-03 15:14:01 +0100
committerBjörn Gustavsson <[email protected]>2016-03-10 14:31:22 +0100
commit2d17815c831829af13899c23b320b884e790cf9b (patch)
tree875fd7622aaf27df15adcbe7b4d5c3e18eade778 /lib/kernel/test/init_SUITE.erl
parentca290148fbde80f1cda249c1c15562c5bc9aedaa (diff)
downloadotp-2d17815c831829af13899c23b320b884e790cf9b.tar.gz
otp-2d17815c831829af13899c23b320b884e790cf9b.tar.bz2
otp-2d17815c831829af13899c23b320b884e790cf9b.zip
Eliminate use of test_server:sleep/1
Diffstat (limited to 'lib/kernel/test/init_SUITE.erl')
-rw-r--r--lib/kernel/test/init_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kernel/test/init_SUITE.erl b/lib/kernel/test/init_SUITE.erl
index 926bf525c7..a1f92546d0 100644
--- a/lib/kernel/test/init_SUITE.erl
+++ b/lib/kernel/test/init_SUITE.erl
@@ -440,7 +440,7 @@ wait_restart(N, Node) ->
case net_adm:ping(Node) of
pong -> ok;
_ ->
- ?t:sleep(1000),
+ ct:sleep(1000),
wait_restart(N - 1, Node)
end.
@@ -482,7 +482,7 @@ reboot(Config) when is_list(Config) ->
stop_node(Node),
ct:fail(not_stopping)
end,
- ?t:sleep(5000),
+ ct:sleep(5000),
?line case net_adm:ping(Node) of
pang ->
ok;
@@ -509,7 +509,7 @@ stop(Config) when is_list(Config) ->
stop_node(Node),
ct:fail(not_stopping)
end,
- ?t:sleep(5000),
+ ct:sleep(5000),
?line case net_adm:ping(Node) of
pang ->
ok;