diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-04-01 17:58:41 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-04-01 17:58:41 +0200 |
commit | a3115154f754ed9f8db0dd0bfb07642efe54261c (patch) | |
tree | 07860ce1000f6480018a75c15e7023fabfe8a064 /lib/os_mon/test/os_sup_SUITE.erl | |
parent | d0378c0daf08fd0ddc22cf3e3fbb5b01794e623f (diff) | |
download | otp-a3115154f754ed9f8db0dd0bfb07642efe54261c.tar.gz otp-a3115154f754ed9f8db0dd0bfb07642efe54261c.tar.bz2 otp-a3115154f754ed9f8db0dd0bfb07642efe54261c.zip |
Replace ?t:sleep/1 with ct:sleep/1
Diffstat (limited to 'lib/os_mon/test/os_sup_SUITE.erl')
-rw-r--r-- | lib/os_mon/test/os_sup_SUITE.erl | 4 |
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; |