aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/prim_file_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-03-03 15:14:01 +0100
committerBjörn Gustavsson <[email protected]>2016-03-10 14:31:22 +0100
commit2d17815c831829af13899c23b320b884e790cf9b (patch)
tree875fd7622aaf27df15adcbe7b4d5c3e18eade778 /lib/kernel/test/prim_file_SUITE.erl
parentca290148fbde80f1cda249c1c15562c5bc9aedaa (diff)
downloadotp-2d17815c831829af13899c23b320b884e790cf9b.tar.gz
otp-2d17815c831829af13899c23b320b884e790cf9b.tar.bz2
otp-2d17815c831829af13899c23b320b884e790cf9b.zip
Eliminate use of test_server:sleep/1
Diffstat (limited to 'lib/kernel/test/prim_file_SUITE.erl')
-rw-r--r--lib/kernel/test/prim_file_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/test/prim_file_SUITE.erl b/lib/kernel/test/prim_file_SUITE.erl
index 05da66e6a6..92d44c8880 100644
--- a/lib/kernel/test/prim_file_SUITE.erl
+++ b/lib/kernel/test/prim_file_SUITE.erl
@@ -927,7 +927,7 @@ file_info_int(Config, Handle, Suffix) ->
%% Sleep until we can be sure the seconds value has changed.
%% Note: FAT-based filesystem (like on Windows 95) have
%% a resolution of 2 seconds.
- ?line test_server:sleep(test_server:seconds(2.2)),
+ ct:sleep({seconds,2.2}),
%% close the file, and watch the modify date change
?line ok = ?PRIM_FILE:close(Fd1),