AbstractRemoteSendConsistencySpec actorSelection preserving order test now flaky
- Dominant language
- Scala
- Stars
- 1.6k
- Forks
- 211
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 89
Description
Not sure if this was always flaky but it now fails on a very regular basis - especially on scala 2.13
```
[06-18 22:07:31.843] [info] - must be able to send messages with actorSelection concurrently preserving order *** FAILED *** (1 minute)
[06-18 22:07:31.843] [info] java.lang.AssertionError: assertion failed: timeout (59999986805 nanoseconds) during expectMsg while waiting for success2
[06-18 22:07:31.843] [info] at scala.Predef$.assert(Predef.scala:279)
[06-18 22:07:31.843] [info] at org.apache.pekko.testkit.TestKitBase.expectMsg_internal(TestKit.scala:470)
[06-18 22:07:31.843] [info] at org.apache.pekko.testkit.TestKitBase.expectMsg(TestKit.scala:447)
[06-18 22:07:31.843] [info] at org.apache.pekko.testkit.TestKitBase.expectMsg$(TestKit.scala:447)
[06-18 22:07:31.843] [info] at org.apache.pekko.testkit.TestKit.expectMsg(TestKit.scala:963)
[06-18 22:07:31.843] [info] at org.apache.pekko.remote.artery.AbstractRemoteSendConsistencySpec.$anonfun$new$10(RemoteSendConsistencySpec.scala:220)
[06-18 22:07:31.843] [info] at org.apache.pekko.testkit.TestKitBase.within(TestKit.scala:427)
[06-18 22:07:31.843] [info] at org.apache.pekko.testkit.TestKitBase.within$(TestKit.scala:414)
[06-18 22:07:31.843] [info] at org.apache.pekko.testkit.TestKit.within(TestKit.scala:963)
[06-18 22:07:31.843] [info] at org.apache.pekko.testkit.TestKitBase.within(TestKit.scala:442)
[06-18 22:07:31.843] [info] at org.apache.pekko.testkit.TestKitBase.within$(TestKit.scala:442)
[06-18 22:07:31.843] [info] at org.apache.pekko.testkit.TestKit.within(TestKit.scala:963)
[06-18 22:07:31.844] [info] at org.apache.pekko.remote.artery.AbstractRemoteSendConsistencySpec.$anonfun$new$8(RemoteSendConsistencySpec.scala:219)
[06-18 22:07:31.844] [info] at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
[06-18 22:07:31.844] [info] at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
[06-18 22:07:31.844] [info] at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
[06-18 22:07:31.844] [info] at org.scalatest.Transformer.apply(Transformer.scala:22)
[06-18 22:07:31.844] [info] at org.scalatest.Transformer.apply(Transformer.scala:20)
[06-18 22:07:31.844] [info] at org.scalatest.wordspec.AnyWordSpecLike$$anon$3.apply(AnyWordSpecLike.scala:1240)
```
Contributor guide
Research direction
Start with the failing actorSelection test in RemoteSendConsistencySpec.scala around lines 219-220 and run it repeatedly, especially on Scala 2.13. Trace why the test times out while waiting for success2 and verify that the test reliably preserves message order before considering the issue done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- distributed-systems, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100