From 8ce0f4c9538e57846c4d96b2817d3ce86eaf1461 Mon Sep 17 00:00:00 2001 From: Christopher Batey Date: Wed, 16 Dec 2020 10:18:06 +0000 Subject: [PATCH] Add test for old dao --- .travis.yml | 6 ++++++ core/src/main/resources/reference.conf | 1 + 2 files changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index eccc233bf..ae98188c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 jdbc-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" diff --git a/core/src/main/resources/reference.conf b/core/src/main/resources/reference.conf index daa658249..9c86b3566 100644 --- a/core/src/main/resources/reference.conf +++ b/core/src/main/resources/reference.conf @@ -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