aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2013-07-15 19:11:40 +0200
committerBjörn-Egil Dahlberg <[email protected]>2013-07-15 19:11:40 +0200
commit2bd279fc9196aa25446d632e6a37bc7bdb102ed8 (patch)
tree45307adbdbb0d02b0367b32fcf8bdeec2818c6ef
parent98d03e9cf84b8670afaaa450d8e9bae8e303437c (diff)
downloadotp-2bd279fc9196aa25446d632e6a37bc7bdb102ed8.tar.gz
otp-2bd279fc9196aa25446d632e6a37bc7bdb102ed8.tar.bz2
otp-2bd279fc9196aa25446d632e6a37bc7bdb102ed8.zip
tests: Relax system_profile_SUITE scheduler test
-rw-r--r--erts/emulator/test/system_profile_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/test/system_profile_SUITE.erl b/erts/emulator/test/system_profile_SUITE.erl
index ba94a371be..a387c08ef9 100644
--- a/erts/emulator/test/system_profile_SUITE.erl
+++ b/erts/emulator/test/system_profile_SUITE.erl
@@ -198,7 +198,9 @@ check_multi_scheduling_block(Nodes) ->
Pid = start_profiler_process(),
undefined = erlang:system_profile(Pid, [scheduler]),
{ok, Supervisor} = start_load(Nodes),
+ wait(600),
erlang:system_flag(multi_scheduling, block),
+ wait(600),
erlang:system_flag(multi_scheduling, unblock),
{Pid, [scheduler]} = erlang:system_profile(undefined, []),
Events = get_profiler_events(),
@@ -213,7 +215,6 @@ check_block_system(Nodes) ->
Pid = start_profiler_process(),
undefined = erlang:system_profile(Pid, [scheduler]),
{ok, Supervisor} = start_load(Nodes),
- % FIXME: remove wait !!
wait(300),
undefined = erlang:system_monitor(Dummy, [busy_port]),
{Dummy, [busy_port]} = erlang:system_monitor(undefined, []),