aboutsummaryrefslogtreecommitdiffstats
path: root/lib/os_mon/test/disksup_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-04-01 17:58:41 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-04-01 17:58:41 +0200
commita3115154f754ed9f8db0dd0bfb07642efe54261c (patch)
tree07860ce1000f6480018a75c15e7023fabfe8a064 /lib/os_mon/test/disksup_SUITE.erl
parentd0378c0daf08fd0ddc22cf3e3fbb5b01794e623f (diff)
downloadotp-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/disksup_SUITE.erl')
-rw-r--r--lib/os_mon/test/disksup_SUITE.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/os_mon/test/disksup_SUITE.erl b/lib/os_mon/test/disksup_SUITE.erl
index 6ce88ac10d..0f0561571a 100644
--- a/lib/os_mon/test/disksup_SUITE.erl
+++ b/lib/os_mon/test/disksup_SUITE.erl
@@ -286,7 +286,7 @@ port(Config) when is_list(Config) ->
end,
%% Give os_mon_sup time to restart disksup
- ?t:sleep(?t:seconds(3)),
+ ct:sleep({seconds,3}),
[{_Disk2,Kbyte2,_Cap2}|_] = disksup:get_disk_data(),
true = Kbyte2>0,
@@ -364,7 +364,7 @@ otp_5910(Config) when is_list(Config) ->
%% Wait a little to make sure disksup has been restarted,
%% then make sure the alarms are set once, but not twice
- ?t:sleep(?t:seconds(1)),
+ ct:sleep({seconds,1}),
Data3 = disksup:get_disk_data(),
Alarms2 = get_alarms(),
if
@@ -376,7 +376,7 @@ otp_5910(Config) when is_list(Config) ->
%% Stop OS_Mon and make sure all disksup alarms are cleared
ok = application:stop(os_mon),
- ?t:sleep(?t:seconds(1)),
+ ct:sleep({seconds,1}),
Alarms3 = get_alarms(),
case get_alarms() of
[] -> ok;