Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. StreamTestKit$PublisherProbeSubscription.expectRequest() has thrown an AssertionError
    Unsorted
    2
    0
    0
  2. TestKit.expectMsgPF() has thrown an AssertionError
    Unsorted
    4
    28
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.AssertionError: assertion failed: timeout (3 seconds) during expectMsg:
2 matching frames hidden
    at akka.testkit.TestKit.expectMsgPF(TestKit.scala:814)
    at akka.stream.testkit.StreamTestKit$PublisherProbeSubscription.expectRequest(StreamTestKit.scala:716)
    at akka.stream.testkit.TestPublisher$Probe.sendNext(StreamTestKit.scala:173)
    at com.company.stream.pausable.PausableFlowSpec$$anonfun$3$$anonfun$apply$mcV$sp$5.apply(PausableFlowSpec.scala:70)
52 frames hidden

External results for this pattern (2)

  1. Zaharivia Stack Overflow4 months ago
    assertion failed: timeout (3 seconds) during expectMsg:
    Show stack trace
  2. Steinyvia Stack Overflow1 year ago
    assertion failed: timeout (3 seconds) during expectMsg:
    Show stack trace