aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-12-11 14:30:01 +0100
committerBjörn Gustavsson <[email protected]>2015-12-14 15:44:42 +0100
commita16ad650d3f9cca03dbc1cf542e9f1ca7dd0a7e3 (patch)
tree9b0bd1b3350f2654a23d873e0cf8bc971452724d /lib/mnesia/test
parent983642a38b3627425f77fc6f8b8ccd121fd41f52 (diff)
downloadotp-a16ad650d3f9cca03dbc1cf542e9f1ca7dd0a7e3.tar.gz
otp-a16ad650d3f9cca03dbc1cf542e9f1ca7dd0a7e3.tar.bz2
otp-a16ad650d3f9cca03dbc1cf542e9f1ca7dd0a7e3.zip
mnesia tests: Replace 'random' with 'rand'
Diffstat (limited to 'lib/mnesia/test')
-rw-r--r--lib/mnesia/test/mnesia_consistency_test.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mnesia/test/mnesia_consistency_test.erl b/lib/mnesia/test/mnesia_consistency_test.erl
index 087aef86c9..279e7bc1ec 100644
--- a/lib/mnesia/test/mnesia_consistency_test.erl
+++ b/lib/mnesia/test/mnesia_consistency_test.erl
@@ -696,7 +696,7 @@ consistency_after_restore(ReplicaType, Op, Config) ->
?verify_mnesia(Nodes, []).
change_tab(Father, Tab, Test) ->
- Key = random:uniform(20),
+ Key = rand:uniform(20),
Update = fun() ->
case mnesia:read({Tab, Key}) of
[{Tab, Key, 1}] ->