Skip to content

Commit 20f619f

Browse files
committed
workaround scala3 bug scala/scala3#19711
1 parent 7199f96 commit 20f619f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/test/scala/akka/persistence/jdbc/query/EventsByTagMigrationTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ object EventsByTagMigrationTest {
2828
"jdbc-read-journal.refresh-interval" -> ConfigValueFactory.fromAnyRef(refreshInterval.toString))
2929
}
3030

31-
abstract class EventsByTagMigrationTest(config: String) extends QueryTestSpec(config, migrationConfigOverride) {
31+
abstract class EventsByTagMigrationTest(configS: String) extends QueryTestSpec(configS, migrationConfigOverride) {
3232
final val NoMsgTime: FiniteDuration = 100.millis
3333

3434
val tagTableCfg = journalConfig.eventTagTableConfiguration
@@ -158,7 +158,7 @@ abstract class EventsByTagMigrationTest(config: String) extends QueryTestSpec(co
158158

159159
// override this, so we can reset the value.
160160
def withRollingUpdateActorSystem(f: ActorSystem => Unit): Unit = {
161-
val legacyTagKeyConfig = legacyTagKeyConfigOverride.foldLeft(ConfigFactory.load(config)) {
161+
val legacyTagKeyConfig = legacyTagKeyConfigOverride.foldLeft(ConfigFactory.load(configS)) {
162162
case (conf, (path, configValue)) =>
163163
conf.withValue(path, configValue)
164164
}

0 commit comments

Comments
 (0)