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]>2016-04-29 14:00:14 +0200
committerPeter Andersson <[email protected]>2016-05-02 14:09:46 +0200
commit44082e24cf0b649792b83c6e5c8f07b17586aeaf (patch)
tree698d333be5312d6894639d79e36e688c62964d92 /lib/common_test/test/ct_hooks_SUITE_data/cth/tests/empty_cth.erl
parentaf1135e7e7c1a8d572e2fe152dad55d84b42b7cb (diff)
downloadotp-44082e24cf0b649792b83c6e5c8f07b17586aeaf.tar.gz
otp-44082e24cf0b649792b83c6e5c8f07b17586aeaf.tar.bz2
otp-44082e24cf0b649792b83c6e5c8f07b17586aeaf.zip
Fix bug with clashing timestamp values
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 e5bb4f3ef6..8b64ff8060 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
@@ -90,7 +90,7 @@ id(Opts) ->
gen_event:notify(?CT_EVMGR_REF, #event{ name = cth, node = node(),
data = {?MODULE, id, [Opts]}}),
ct:log("~w:id called", [?MODULE]),
- os:timestamp().
+ ct_test_support:unique_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