aboutsummaryrefslogtreecommitdiffstats
path: root/lib/os_mon/test/os_sup_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/os_mon/test/os_sup_SUITE.erl')
-rw-r--r--lib/os_mon/test/os_sup_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/os_mon/test/os_sup_SUITE.erl b/lib/os_mon/test/os_sup_SUITE.erl
index fb30e479a7..8065b0b50c 100644
--- a/lib/os_mon/test/os_sup_SUITE.erl
+++ b/lib/os_mon/test/os_sup_SUITE.erl
@@ -77,7 +77,7 @@ message(Config) when is_list(Config) ->
os_sup_server ! {faked_port, {data, Data}},
%% Check with message_receptor that it has been received
- ?t:sleep(?t:seconds(1)),
+ ct:sleep({seconds,1}),
Msg =
case ?t:os_type() of
{unix, sunos} ->
@@ -138,7 +138,7 @@ port(Config) when is_list(Config) ->
end,
%% Give os_mon_sup time to restart os_sup
- ?t:sleep(?t:seconds(3)),
+ ct:sleep({seconds,3}),
true = is_pid(whereis(os_sup_server)),
ok;