aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-03-29 07:23:14 +0200
committerBjörn Gustavsson <[email protected]>2016-03-30 14:29:54 +0200
commit50623444d32398d4e982b9545f4809b3d8626793 (patch)
tree8ab2050426966829013491145ca9969ee2f0881f
parent924e9db1d7d51834efdc255893c0d11417def679 (diff)
downloadotp-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.
-rw-r--r--lib/kernel/test/file_SUITE.erl5
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,