Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
patriknw committed Feb 2, 2024
1 parent e8c1789 commit c7dd202
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ final class R2dbcSettings private (
/**
* INTERNAL API: All journal tables and their the lower slice
*/
@InternalApi private[akka] val alljournalTablesWithSchema: Map[String, Int] = {
@InternalApi private[akka] val allJournalTablesWithSchema: Map[String, Int] = {
(0 until NumberOfSlices).foldLeft(Map.empty[String, Int]) { case (acc, slice) =>
val table = journalTableWithSchema(slice)
if (acc.contains(table)) acc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ trait TestDbLifecycle extends BeforeAndAfterAll { this: Suite =>

override protected def beforeAll(): Unit = {
try {
r2dbcSettings.alljournalTablesWithSchema.foreach { case (table, minSlice) =>
r2dbcSettings.allJournalTablesWithSchema.foreach { case (table, minSlice) =>
Await.result(
r2dbcExecutor(minSlice).updateOne("beforeAll delete")(_.createStatement(s"delete from $table")),
10.seconds)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class PersistTagsSpec
}

private def selectAllRows(): IndexedSeq[Row] =
r2dbcSettings.alljournalTablesWithSchema.toVector.sortBy(_._1).flatMap { case (table, minSlice) =>
r2dbcSettings.allJournalTablesWithSchema.toVector.sortBy(_._1).flatMap { case (table, minSlice) =>
selectRows(table, minSlice)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class PersistTimestampSpec
}

private def selectAllRows(): IndexedSeq[Row] =
r2dbcSettings.alljournalTablesWithSchema.toVector.sortBy(_._1).flatMap { case (table, minSlice) =>
r2dbcSettings.allJournalTablesWithSchema.toVector.sortBy(_._1).flatMap { case (table, minSlice) =>
selectRows(table, minSlice)
}

Expand Down

0 comments on commit c7dd202

Please sign in to comment.