aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/empty_cth.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2015-03-11 09:41:11 +0100
committerRickard Green <[email protected]>2015-03-20 15:28:54 +0100
commita219c06f31e082449a1e001c051661370fa00a5d (patch)
tree0b99ba0aabbee1d970ffe48b7fe599b536382d1e /lib/common_test/test/ct_hooks_SUITE_data/cth/tests/empty_cth.erl
parentd2c19c15b887d44b92fa36c5f49d7f2ff755f8ad (diff)
downloadotp-a219c06f31e082449a1e001c051661370fa00a5d.tar.gz
otp-a219c06f31e082449a1e001c051661370fa00a5d.tar.bz2
otp-a219c06f31e082449a1e001c051661370fa00a5d.zip
Replace all calls to now/0 in CT with new time API functions
Diffstat (limited to 'lib/common_test/test/ct_hooks_SUITE_data/cth/tests/empty_cth.erl')
-rw-r--r--lib/common_test/test/ct_hooks_SUITE_data/cth/tests/empty_cth.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/empty_cth.erl b/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/empty_cth.erl
index 6caac7e447..615d33f7b1 100644
--- a/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/empty_cth.erl
+++ b/lib/common_test/test/ct_hooks_SUITE_data/cth/tests/empty_cth.erl
@@ -85,7 +85,7 @@ init(Id, Opts) ->
id(Opts) ->
gen_event:notify(?CT_EVMGR_REF, #event{ name = cth, node = node(),
data = {?MODULE, id, [Opts]}}),
- now().
+ os:timestamp().
%% @doc Called before init_per_suite is called. Note that this callback is
%% only called if the CTH is added before init_per_suite is run (eg. in a test