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/cpu_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/cpu_sup_SUITE.erl')
-rw-r--r-- | lib/os_mon/test/cpu_sup_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/os_mon/test/cpu_sup_SUITE.erl b/lib/os_mon/test/cpu_sup_SUITE.erl index f2caf85a60..dcd689407c 100644 --- a/lib/os_mon/test/cpu_sup_SUITE.erl +++ b/lib/os_mon/test/cpu_sup_SUITE.erl @@ -228,7 +228,7 @@ port(Config) when is_list(Config) -> end, %% Give cpu_sup time to restart cpu_sup port - ?t:sleep(?t:seconds(3)), + ct:sleep({seconds, 3}), N2 = cpu_sup:nprocs(), true = N2>0, |