diff options
author | Rickard Green <[email protected]> | 2016-02-02 11:09:32 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2016-02-02 11:09:32 +0100 |
commit | e9ed8248d845ed7240dbb778aff9b31300f1eb0a (patch) | |
tree | ba439911d911044632c373245b7e2ae9ccb8faae /erts | |
parent | bdfc7355e066db8812dec0c3aa70a0fae0e5d6ac (diff) | |
parent | 89098ea8beb9e60faa59c3f2ea9ffc918ef87ae8 (diff) | |
download | otp-e9ed8248d845ed7240dbb778aff9b31300f1eb0a.tar.gz otp-e9ed8248d845ed7240dbb778aff9b31300f1eb0a.tar.bz2 otp-e9ed8248d845ed7240dbb778aff9b31300f1eb0a.zip |
Merge branch 'rickard/rq-len/OTP-13201' into maint
* rickard/rq-len/OTP-13201:
Fix testcase
Diffstat (limited to 'erts')
-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, |