diff options
author | Björn Gustavsson <bjorn@erlang.org> | 2016-03-29 07:23:14 +0200 |
---|---|---|
committer | Björn Gustavsson <bjorn@erlang.org> | 2016-03-30 14:29:54 +0200 |
commit | 50623444d32398d4e982b9545f4809b3d8626793 (patch) | |
tree | 8ab2050426966829013491145ca9969ee2f0881f /lib | |
parent | 924e9db1d7d51834efdc255893c0d11417def679 (diff) | |
download | otp-50623444d32398d4e982b9545f4809b3d8626793.tar.gz otp-50623444d32398d4e982b9545f4809b3d8626793.tar.bz2 otp-50623444d32398d4e982b9545f4809b3d8626793.zip |
file_SUITE: Increase timetrap for large_write/1
In 9870d22b2401b, the timetrap for large_write/1 was accidentally
reduced from the default 30 minutes to only 1 minute. That is not
enough for some older computers.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kernel/test/file_SUITE.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/kernel/test/file_SUITE.erl b/lib/kernel/test/file_SUITE.erl index 74db2970af..f0d5b4ac12 100644 --- a/lib/kernel/test/file_SUITE.erl +++ b/lib/kernel/test/file_SUITE.erl @@ -83,7 +83,7 @@ -export([unicode/1]). -export([altname/1]). --export([large_file/0, large_file/1, large_write/1]). +-export([large_file/0, large_file/1, large_write/0, large_write/1]). -export([read_line_1/1, read_line_2/1, read_line_3/1,read_line_4/1]). @@ -3663,6 +3663,9 @@ do_large_file(Name) -> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +large_write() -> + [{timetrap,{minutes,20}}]. + large_write(Config) when is_list(Config) -> run_large_file_test(Config, fun(Name) -> do_large_write(Name) end, |