Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Andy(Jingzhang)Chen <[email protected]>
  • Loading branch information
pjfanning and Roiocam authored Aug 14, 2024
1 parent 23a7b8b commit d083bba
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ import pekko.testkit.{ ImplicitSender, PekkoSpec }

object VirtualThreadPoolDispatcherSpec {
val config = ConfigFactory.parseString("""
|virtual-thread-pool {
| task-dispatcher {
| executor = virtual-thread-executor
| }
|virtual-thread-dispatcher {
| executor = virtual-thread-executor
|}
""".stripMargin)

Expand All @@ -50,7 +48,7 @@ class VirtualThreadPoolDispatcherSpec extends PekkoSpec(VirtualThreadPoolDispatc
"VirtualThreadPool support" must {

"handle simple dispatch" in {
val innocentActor = system.actorOf(Props(new InnocentActor).withDispatcher("virtual-thread-pool.task-dispatcher"))
val innocentActor = system.actorOf(Props(new InnocentActor).withDispatcher("virtual-thread-dispatcher"))
innocentActor ! "ping"
expectMsg("All fine")
}
Expand Down

0 comments on commit d083bba

Please sign in to comment.