diff options
author | Björn Gustavsson <bjorn@erlang.org> | 2015-12-11 14:30:01 +0100 |
---|---|---|
committer | Björn Gustavsson <bjorn@erlang.org> | 2015-12-14 15:44:42 +0100 |
commit | a16ad650d3f9cca03dbc1cf542e9f1ca7dd0a7e3 (patch) | |
tree | 9b0bd1b3350f2654a23d873e0cf8bc971452724d /lib/mnesia | |
parent | 983642a38b3627425f77fc6f8b8ccd121fd41f52 (diff) | |
download | erlang-a16ad650d3f9cca03dbc1cf542e9f1ca7dd0a7e3.tar.gz |
mnesia tests: Replace 'random' with 'rand'
Diffstat (limited to 'lib/mnesia')
-rw-r--r-- | lib/mnesia/test/mnesia_consistency_test.erl | 2 |
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}] -> |