Skip to content

Commit

Permalink
Add test for old dao
Browse files Browse the repository at this point in the history
  • Loading branch information
chbatey committed Dec 16, 2020
1 parent f42164e commit 2525ec8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ jobs:
- CMD="++2.13.1 test"
name: "Run tests with Scala 2.13 and AdoptOpenJDK 11"

- env:
- PRE_CMD="./scripts/launch-all.sh"
- _JAVA_OPTIONS="-Djdbc-journal.dao=akka.persistence.jdbc.journal.dao.legacy.ByteArrayJournalDao -Djdbc-snapshot-store.dao=akka.persistence.jdbc.snapshot.dao.legacy.ByteArraySnapshotDao -Djdbc-read-journal.dao=akka.persistence.jdbc.query.dao.legacy.ByteArrayReadJournalDao"
- CMD="++2.12.11 test"
name: "Run tests with the old DAO"

- stage: whitesource
script: git branch -f "$TRAVIS_BRANCH" && git checkout "$TRAVIS_BRANCH" && sbt whitesourceCheckPolicies whitesourceUpdate
name: "Check licenses via WhiteSource"
Expand Down
1 change: 1 addition & 0 deletions core/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ jdbc-journal {
# The tag separator to use when tagging events with more than one tag.
# should not be configured directly, but through property akka-persistence-jdbc.tagSeparator
# in order to keep consistent behavior over write/read sides
# Only used for the legeacy schema
tagSeparator = ${akka-persistence-jdbc.tagSeparator}

# If you have data from pre 5.0.0 use the legacy akka.persistence.jdbc.journal.dao.legacy.ByteArrayJournalDao
Expand Down

0 comments on commit 2525ec8

Please sign in to comment.