akka-projection icon indicating copy to clipboard operation
akka-projection copied to clipboard

failed: ProjectionBehaviorSpec - unexpected message StopObserved

Open patriknw opened this issue 4 years ago • 10 comments
trafficstars

https://github.com/akka/akka-projection/pull/541/checks?check_run_id=2401876861

[info] - must work with ProjectionManagement extension *** FAILED *** (1 second, 555 milliseconds)
226
[info]   java.lang.AssertionError: Received unexpected message StopObserved
227
[info]   at akka.actor.testkit.typed.internal.TestProbeImpl.assertFail(TestProbeImpl.scala:399)
228
[info]   at akka.actor.testkit.typed.internal.TestProbeImpl.expectNoMessage_internal(TestProbeImpl.scala:213)
229
[info]   at akka.actor.testkit.typed.internal.TestProbeImpl.expectNoMessage(TestProbeImpl.scala:207)
230
[info]   at akka.projection.ProjectionBehaviorSpec.$anonfun$new$10(ProjectionBehaviorSpec.scala:462)

Flaky. Could have been introduced by the changes for pause/resume, but I can't see how?

The log capturing doesn't give anything. Looks like we are running tests in parallell? Captured logs include ErrorRateMetricExactlyOnceSpec

There is one comment in the test code that looks wrong, but I don't know if that matters: https://github.com/akka/akka-projection/blob/badd73e7b28d6d28cacb320198bf2260600ed75f/akka-projection-core-test/src/test/scala/akka/projection/ProjectionBehaviorSpec.scala#L157-L161

patriknw avatar Apr 22 '21 06:04 patriknw

https://github.com/akka/akka-projection/actions/runs/3743525194/jobs/6355788687#step:6:199

johanandren avatar Dec 20 '22 19:12 johanandren

https://github.com/akka/akka-projection/actions/runs/3764777780/jobs/6399560990#step:6:228

johanandren avatar Dec 23 '22 10:12 johanandren

https://github.com/akka/akka-projection/actions/runs/3984221779/jobs/6830225014#step:6:213

johanandren avatar Jan 23 '23 07:01 johanandren

https://github.com/akka/akka-projection/actions/runs/3986398838/jobs/6834929471#step:6:296

johanandren avatar Jan 23 '23 12:01 johanandren

https://github.com/akka/akka-projection/actions/runs/4002064555/jobs/6868938834#step:6:203

pvlugter avatar Jan 25 '23 02:01 pvlugter

https://github.com/akka/akka-projection/actions/runs/4720375017/jobs/8372349122#step:6:394

johanandren avatar Apr 17 '23 11:04 johanandren

https://github.com/akka/akka-projection/actions/runs/4860192976/jobs/8663722279#step:6:287

johanandren avatar May 02 '23 11:05 johanandren

https://github.com/akka/akka-projection/actions/runs/6230862549/job/16911510690#step:6:401

pvlugter avatar Sep 19 '23 03:09 pvlugter

https://github.com/akka/akka-projection/actions/runs/6245017899/job/16952880034#step:6:359

pvlugter avatar Sep 20 '23 06:09 pvlugter

https://github.com/akka/akka-projection/actions/runs/6404406163/job/17384904399#step:6:342

patriknw avatar Oct 04 '23 10:10 patriknw