Skip to content

Commit

Permalink
increase timeouts in ProjectionTestKitSpec (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Jan 7, 2025
1 parent 42a752e commit cc87b5c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class ProjectionTestKitSpec extends ScalaTestWithActorTestKit with LogCapturing
val prj = TestProjection(projectionId, sp, () => handler(strBuffer, _ <= 6))

// total processing time expected to be around 1.2 seconds
projectionTestKit.run(prj, max = 2.seconds) {
projectionTestKit.run(prj, max = 4.seconds) {
strBuffer.toString shouldBe "1-2-3-4-5-6"
}
}
Expand All @@ -82,7 +82,7 @@ class ProjectionTestKitSpec extends ScalaTestWithActorTestKit with LogCapturing
val prj = TestProjection(projectionId, sp, () => handler(strBuffer, _ <= 2))

assertThrows[TestFailedException] {
projectionTestKit.run(prj, max = 1.seconds) {
projectionTestKit.run(prj, max = 2.seconds) {
strBuffer.toString shouldBe "1-2"
}
}
Expand Down

0 comments on commit cc87b5c

Please sign in to comment.