Skip to content

Commit 7199f96

Browse files
committed
fix timeout in teste "complete without any gaps in case events are being persisted when the query is executed"
increase toStrict timeout
1 parent 5ceb36e commit 7199f96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/scala/akka/persistence/jdbc/query/CurrentEventsByTagTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ abstract class CurrentEventsByTagTest(config: String) extends QueryTestSpec(conf
193193
journalOps.withCurrentEventsByTag()(tag, NoOffset) { tp =>
194194
// The stream must complete within the given amount of time
195195
// This make take a while in case the journal sequence actor detects gaps
196-
val allEvents = tp.toStrict(atMost = 20.seconds)
196+
val allEvents = tp.toStrict(atMost = 40.seconds)
197197
allEvents.size should be >= 600
198198
val expectedOffsets = 1L.to(allEvents.size).map(Sequence.apply)
199199
allEvents.map(_.offset) shouldBe expectedOffsets

0 commit comments

Comments
 (0)