aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-05-31 14:12:51 +0200
committerLoïc Hoguin <[email protected]>2017-05-31 14:12:51 +0200
commit7a531e4e79a64c135aff26e95575a15ca89521c0 (patch)
tree90243f18411c7f25e6530214f7da7e8d022d45fd /test
parent2730f7188738cc7b1100e50bcc8567d33ecb3934 (diff)
downloadranch-7a531e4e79a64c135aff26e95575a15ca89521c0.tar.gz
ranch-7a531e4e79a64c135aff26e95575a15ca89521c0.tar.bz2
ranch-7a531e4e79a64c135aff26e95575a15ca89521c0.zip
Remove a warning when building tests on recent OTP
Diffstat (limited to 'test')
-rw-r--r--test/sendfile_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sendfile_SUITE.erl b/test/sendfile_SUITE.erl
index fa8e843..ee16f26 100644
--- a/test/sendfile_SUITE.erl
+++ b/test/sendfile_SUITE.erl
@@ -41,7 +41,7 @@ groups() ->
init_per_suite(Config) ->
Filename = filename:join(config(priv_dir, Config), "sendfile"),
- Binary = crypto:rand_bytes(20 * 1024 * 1024),
+ Binary = crypto:strong_rand_bytes(20 * 1024 * 1024),
ok = file:write_file(Filename, Binary),
[{filename, Filename} | Config].