Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

LogEventDispatcherSpec failed #377

Closed
krasserm opened this issue Jan 4, 2017 · 0 comments
Closed

LogEventDispatcherSpec failed #377

krasserm opened this issue Jan 4, 2017 · 0 comments
Assignees
Milestone

Comments

@krasserm
Copy link
Contributor

krasserm commented Jan 4, 2017

https://travis-ci.org/RBMHTechnology/eventuate/jobs/188769035#L3522

[info]   - must route events from a single source-endpoint to a single target-log *** FAILED ***
[info]     java.lang.AssertionError: assertion failed: timeout (20 seconds) while expecting 2 messages (got 0)
[info]     at scala.Predef$.assert(Predef.scala:219)
[info]     at akka.testkit.TestKitBase.$anonfun$receiveN_internal$1(TestKit.scala:684)
[info]     at akka.testkit.TestKitBase.$anonfun$receiveN_internal$1$adapted(TestKit.scala:681)
[info]     at akka.testkit.TestKitBase$$Lambda$485/2136070301.apply(Unknown Source)
[info]     at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234)
[info]     at scala.collection.TraversableLike$$Lambda$65/1685232414.apply(Unknown Source)
[info]     at scala.collection.immutable.Range.foreach(Range.scala:156)
[info]     at scala.collection.TraversableLike.map$(TraversableLike.scala:234)
[info]     at scala.collection.AbstractTraversable.map(Traversable.scala:104)
[info]     at akka.testkit.TestKitBase.receiveN_internal(TestKit.scala:681)
[info]     ...
@krasserm krasserm added this to the 0.9 milestone Jan 4, 2017
@krasserm krasserm added the ready label Jan 4, 2017
@volkerstampa volkerstampa modified the milestones: 0.10, 0.9 Apr 3, 2017
cstub pushed a commit that referenced this issue Jun 29, 2017
`LogEventDispatcherSpec` used a static delay between the start of a `LogEventDispatcher`
and delivery of the test messages. This delay could lead to a situation where messages
where sent to the `EventLogDispatcher` but the initialization process was not yet completed
resulting in a loss of the sent messages.

Implement a delayed retry-mechanism for sending events to the `LogEventDispatcher`
if event-delivery fails with a 'ReplyException.NoHandlers' indicating that
initialization of the `LogEventDispatcher` has not yet completed.

Closes #377
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants