Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable snapshot store in tests
Browse files Browse the repository at this point in the history
pvlugter committed Jan 10, 2025

Verified

This commit was signed with the committer’s verified signature.
pvlugter Peter Vlugter
1 parent f5c3b8a commit 90b027f
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@ object TestConfig {
.parseString("""
akka.loglevel = DEBUG
akka.persistence.journal.plugin = "akka.persistence.dynamodb.journal"
akka.persistence.snapshot-store.plugin = "akka.persistence.dynamodb.snapshot"
akka.persistence.dynamodb {
query {
refresh-interval = 1s
Original file line number Diff line number Diff line change
@@ -49,6 +49,10 @@ trait TestDbLifecycle extends BeforeAndAfterAll { this: Suite =>
akka.persistence.dynamodb.util.scaladsl.CreateTables
.createJournalTable(typedSystem, dynamoDBSettings, client, deleteIfExists = true),
10.seconds)
Await.result(
akka.persistence.dynamodb.util.scaladsl.CreateTables
.createSnapshotsTable(typedSystem, dynamoDBSettings, client, deleteIfExists = true),
10.seconds)
Await.result(
CreateTables.createTimestampOffsetStoreTable(typedSystem, settings, client, deleteIfExists = true),
10.seconds)

0 comments on commit 90b027f

Please sign in to comment.