From a3115154f754ed9f8db0dd0bfb07642efe54261c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn-Egil=20Dahlberg?= Date: Fri, 1 Apr 2016 17:58:41 +0200 Subject: Replace ?t:sleep/1 with ct:sleep/1 --- lib/os_mon/test/os_sup_SUITE.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/os_mon/test/os_sup_SUITE.erl') 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; -- cgit v1.2.3