diff options
author | John Högberg <[email protected]> | 2017-10-13 10:53:38 +0200 |
---|---|---|
committer | John Högberg <[email protected]> | 2017-11-30 15:44:36 +0100 |
commit | 925b2a298875aef850cd4d78861aca82cf521d04 (patch) | |
tree | 5a04b01e5022fdad95a6efd824236a386625e3ff | |
parent | 5273bc7c0fcf5354922eb3fd2eaf7c3e5ded6440 (diff) | |
download | otp-925b2a298875aef850cd4d78861aca82cf521d04.tar.gz otp-925b2a298875aef850cd4d78861aca82cf521d04.tar.bz2 otp-925b2a298875aef850cd4d78861aca82cf521d04.zip |
Fix incorrect assumption about process activity
The tests assume that the most active process will be the current
one, which is no longer true since the delayed_write option now
uses a wrapper process for much of its work.
The timeout for this test has been increased to account for the
lack of delayed_write; 60s was enough for everything except the
debug build on some machines.
-rw-r--r-- | lib/tools/test/fprof_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tools/test/fprof_SUITE.erl b/lib/tools/test/fprof_SUITE.erl index 8fd164a4b3..ae0e7253ad 100644 --- a/lib/tools/test/fprof_SUITE.erl +++ b/lib/tools/test/fprof_SUITE.erl @@ -51,7 +51,7 @@ suite() -> [{ct_hooks,[ts_install_cth]}, - {timetrap,{seconds,60}}]. + {timetrap,{seconds,240}}]. all() -> case test_server:is_native(fprof_SUITE) of @@ -571,7 +571,7 @@ seq_r(Start, Stop, Succ, R) -> create_file_slow(Name, N) when is_integer(N), N >= 0 -> {ok, FD} = - file:open(Name, [raw, write, delayed_write, binary]), + file:open(Name, [raw, write, binary]), if N > 256 -> ok = file:write(FD, lists:map(fun (X) -> <<X:32/unsigned>> end, |