aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2015-03-13 19:55:36 +0100
committerAnders Svensson <[email protected]>2015-03-19 14:13:15 +0100
commit955dc3a824e8ceaace25196574902eab93a53454 (patch)
tree8776baa9721e4f300753102024a8ea1ae938edb4 /lib
parent0e1c7db504dc9fdc4e42bd1b9fb0c0e820341b0c (diff)
downloadotp-955dc3a824e8ceaace25196574902eab93a53454.tar.gz
otp-955dc3a824e8ceaace25196574902eab93a53454.tar.bz2
otp-955dc3a824e8ceaace25196574902eab93a53454.zip
Adapt app suite to changes in time api
erlang:time_resolution/0 has been removed, erlang:convert_time_resolution/3 has been renamed convert_time_unit, and {os,erlang}:system_time/0,1 have been added. Modify the list of ignored undefined function calls accordingly.
Diffstat (limited to 'lib')
-rw-r--r--lib/diameter/test/diameter_app_SUITE.erl9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/diameter/test/diameter_app_SUITE.erl b/lib/diameter/test/diameter_app_SUITE.erl
index cf34c762e1..6975e83830 100644
--- a/lib/diameter/test/diameter_app_SUITE.erl
+++ b/lib/diameter/test/diameter_app_SUITE.erl
@@ -226,15 +226,18 @@ ignored({FromMod,_,_}, {ToMod,_,_} = To, Rel)->
%% New time api in OTP 18.
time_api() ->
- [{erlang, F, A} || {F,A} <- [{convert_time_resolution,3},
+ [{erlang, F, A} || {F,A} <- [{convert_time_unit,3},
{monotonic_time,0},
{monotonic_time,1},
+ {system_time,0},
+ {system_time,1},
{time_offset,0},
{time_offset,1},
- {time_resolution,0},
{timestamp,0},
{unique_integer,0},
- {unique_integer,1}]].
+ {unique_integer,1}]]
+ ++ [{os, system_time, 0},
+ {os, system_time, 1}].
release() ->
Rel = erlang:system_info(otp_release),