aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-02-02 11:10:56 +0100
committerRickard Green <[email protected]>2016-02-02 11:10:56 +0100
commitd16236b9c07133ac0ca450db82db81e99559bf78 (patch)
tree555e19f179e05794950c4c5ddc8a0bf2ccfac9bd /erts/emulator/test
parent781ef120612c0018aa9f4e8114d74ac4af4e6191 (diff)
parente9ed8248d845ed7240dbb778aff9b31300f1eb0a (diff)
downloadotp-d16236b9c07133ac0ca450db82db81e99559bf78.tar.gz
otp-d16236b9c07133ac0ca450db82db81e99559bf78.tar.bz2
otp-d16236b9c07133ac0ca450db82db81e99559bf78.zip
Merge branch 'maint'
* maint: Fix testcase
Diffstat (limited to 'erts/emulator/test')
-rw-r--r--erts/emulator/test/statistics_SUITE.erl4
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,