aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/test/mnesia_isolation_test.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-06-24 07:59:00 +0200
committerDan Gudmundsson <[email protected]>2015-06-30 09:26:49 +0200
commitf940d1cc510b9eb86a2562f190825b17a31acee2 (patch)
tree54363e0cae29626ad0fc33e6dedd993044707646 /lib/mnesia/test/mnesia_isolation_test.erl
parent74a95b3d511177a9b35c2b0272b9ca5511b6f750 (diff)
downloadotp-f940d1cc510b9eb86a2562f190825b17a31acee2.tar.gz
otp-f940d1cc510b9eb86a2562f190825b17a31acee2.tar.bz2
otp-f940d1cc510b9eb86a2562f190825b17a31acee2.zip
Remove erlang:now() and random usage in tests
Diffstat (limited to 'lib/mnesia/test/mnesia_isolation_test.erl')
-rw-r--r--lib/mnesia/test/mnesia_isolation_test.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/mnesia/test/mnesia_isolation_test.erl b/lib/mnesia/test/mnesia_isolation_test.erl
index 6abb1f7cdc..b66da6e390 100644
--- a/lib/mnesia/test/mnesia_isolation_test.erl
+++ b/lib/mnesia/test/mnesia_isolation_test.erl
@@ -1127,7 +1127,9 @@ update_shared(Tab, Me, Acc) ->
0 ->
case mnesia:transaction(Update) of
{atomic, {ok,Term,W2}} ->
- io:format("~p:~p:(~p,~p) ~w@~w~n", [erlang:now(),node(),Me,Acc,Term,W2]),
+ io:format("~p:~p:(~p,~p) ~w@~w~n",
+ [erlang:unique_integer([monotonic,positive]),
+ node(),Me,Acc,Term,W2]),
update_shared(Tab, Me, Acc+1);
Else ->
?error("Trans failed on ~p with ~p~n"