diff options
author | Anders Svensson <[email protected]> | 2015-03-13 19:55:36 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2015-03-19 14:13:15 +0100 |
commit | 955dc3a824e8ceaace25196574902eab93a53454 (patch) | |
tree | 8776baa9721e4f300753102024a8ea1ae938edb4 /lib/diameter | |
parent | 0e1c7db504dc9fdc4e42bd1b9fb0c0e820341b0c (diff) | |
download | otp-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/diameter')
-rw-r--r-- | lib/diameter/test/diameter_app_SUITE.erl | 9 |
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), |