diff options
author | Rickard Green <[email protected]> | 2016-01-22 10:24:13 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2016-01-22 10:24:13 +0100 |
commit | 89098ea8beb9e60faa59c3f2ea9ffc918ef87ae8 (patch) | |
tree | 6eb4ab139faa596c9bf07a764af631ae8b0146d9 /erts/emulator | |
parent | 37f58ad6bff2bf2bac4f3f20c2684e8cee66af03 (diff) | |
download | otp-89098ea8beb9e60faa59c3f2ea9ffc918ef87ae8.tar.gz otp-89098ea8beb9e60faa59c3f2ea9ffc918ef87ae8.tar.bz2 otp-89098ea8beb9e60faa59c3f2ea9ffc918ef87ae8.zip |
Fix testcase
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/test/statistics_SUITE.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/test/statistics_SUITE.erl b/erts/emulator/test/statistics_SUITE.erl index 53c9ba8715..a6305d453c 100644 --- a/erts/emulator/test/statistics_SUITE.erl +++ b/erts/emulator/test/statistics_SUITE.erl @@ -440,6 +440,10 @@ run_queues_lengths_active_tasks(Config) -> SO = erlang:system_flag(schedulers_online, 1), + %% Give newly suspended schedulers some time to + %% migrate away work from their run queues... + receive after 1000 -> ok end, + TRQLs1 = statistics(total_run_queue_lengths), TATs1 = statistics(total_active_tasks), true = TRQLs1 >= 10, |