Skip to content

Commit

Permalink
src/test: Replaced calls to random by rand
Browse files Browse the repository at this point in the history
Deprecated since Erlang/OTP 19.

Link: https://www.erlang.org/doc/deprecations.html#functions-deprecated-in-otp-19
Signed-off-by: Ariel Otilibili <[email protected]>
  • Loading branch information
ariel-anieli committed Nov 19, 2024
1 parent b26f52f commit 0b35269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ts_test_config.erl
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ config_thinktime2_test() ->
receive
{timeout,Ref2,end_thinktime} -> ok
end,
random:seed(), % reinit seed for others tests
rand:seed(), % reinit seed for others tests
?assertMatch({random,1000}, Req).

read_config_tag_noexclusion_test() ->
Expand Down

0 comments on commit 0b35269

Please sign in to comment.