=clu #18577 Option to stop cluster client after no receptionist contact timeout

This commit is contained in:
Johan Andrén 2016-01-07 19:54:55 +01:00
parent 673174a64a
commit 19c7017482
6 changed files with 227 additions and 26 deletions

View file

@ -120,7 +120,7 @@ class EventsByPersistenceIdSpec extends AkkaSpec(EventsByPersistenceIdSpec.confi
expectMsg(s"${2L}-deleted")
val src = queries.currentEventsByPersistenceId("h", 0L, Long.MaxValue)
src.map(_.event).runWith(TestSink.probe[Any]).request(1).expectNext("h-3") expectComplete()
src.map(_.event).runWith(TestSink.probe[Any]).request(1).expectNext("h-3").expectComplete()
}
"return empty stream for empty journal" in {