ForkJoinPoolStarvationSpec pending on JDK 17, #31117 (#31125)

This commit is contained in:
Patrik Nordwall 2022-02-15 08:13:12 +01:00 committed by GitHub
parent 61c27ae69c
commit 91defdfc7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,6 +51,10 @@ class ForkJoinPoolStarvationSpec extends AkkaSpec(ForkJoinPoolStarvationSpec.con
"AkkaForkJoinPool" must {
"not starve tasks arriving from external dispatchers under high internal traffic" in {
// TODO issue #31117: starvation with JDK 17 FJP
if (System.getProperty("java.specification.version") == "17")
pending
// Two busy actors that will occupy the threads of the dispatcher
// Since they submit to the local task queue via fork, they can starve external submissions
system.actorOf(Props(new SelfBusyActor).withDispatcher("actorhang.task-dispatcher"))