Skip to content

Commit

Permalink
backport test fix from main branch (#1413)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Jul 26, 2024
1 parent d1254c9 commit bf0889a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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("""
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bf0889a

Please sign in to comment.