=test Skip ForkJoinPoolStarvationSpec on JDK 21.
This commit is contained in:
parent
2b0f149eb7
commit
e94e7b971b
1 changed files with 2 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ import com.typesafe.config.ConfigFactory
|
|||
import org.apache.pekko
|
||||
import pekko.actor.{ Actor, Props }
|
||||
import pekko.testkit.{ ImplicitSender, PekkoSpec }
|
||||
import pekko.util.JavaVersion
|
||||
|
||||
object ForkJoinPoolStarvationSpec {
|
||||
val config = ConfigFactory.parseString("""
|
||||
|
|
@ -62,7 +63,7 @@ class ForkJoinPoolStarvationSpec extends PekkoSpec(ForkJoinPoolStarvationSpec.co
|
|||
|
||||
"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")
|
||||
if (JavaVersion.majorVersion >= 17)
|
||||
pending
|
||||
|
||||
// Two busy actors that will occupy the threads of the dispatcher
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue