Skip to content

Commit

Permalink
scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jtjeferreira committed Oct 16, 2023
1 parent dd1540c commit 245acc3
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ abstract class JournalSequenceActorTest(configFile: String, isOracle: Boolean)

val startTime = System.currentTimeMillis()
withJournalSequenceActor(db, maxTries = 100) { actor =>
implicit val patienceConfig: PatienceConfig = PatienceConfig(10.seconds, Span(200, org.scalatest.time.Millis))
implicit val patienceConfig: PatienceConfig =
PatienceConfig(10.seconds, Span(200, org.scalatest.time.Millis))
eventually {
val currentMax = actor.ask(GetMaxOrderingId).mapTo[MaxOrderingId].futureValue.maxOrdering
currentMax shouldBe elements
Expand Down Expand Up @@ -109,7 +110,8 @@ abstract class JournalSequenceActorTest(configFile: String, isOracle: Boolean)

withJournalSequenceActor(db, maxTries = 2) { actor =>
// Should normally recover after `maxTries` seconds
implicit val patienceConfig: PatienceConfig = PatienceConfig(10.seconds, Span(200, org.scalatest.time.Millis))
implicit val patienceConfig: PatienceConfig =
PatienceConfig(10.seconds, Span(200, org.scalatest.time.Millis))
eventually {
val currentMax = actor.ask(GetMaxOrderingId).mapTo[MaxOrderingId].futureValue.maxOrdering
currentMax shouldBe lastElement
Expand Down

0 comments on commit 245acc3

Please sign in to comment.