lerna-stack / akka-entity-replication

Akka extension for fast recovery from failure with replicating stateful entity on multiple nodes in Cluster
Apache License 2.0
30 stars 1 forks source link

Ignore `LogReplicationDuringSnapshotSyncSpec` due to unstable #143

Closed xirc closed 2 years ago

xirc commented 2 years ago

LogReplicationDuringSnapshotSyncSpec throws the following exception:

[JVM-4] *** RUN ABORTED ***
[JVM-4]   java.lang.ExceptionInInitializerError:
[JVM-4]   at lerna.akka.entityreplication.typed.LogReplicationDuringSnapshotSyncSpec.<init>(LogReplicationDuringSnapshotSyncSpec.scala:136)
[JVM-4]   at lerna.akka.entityreplication.typed.LogReplicationDuringSnapshotSyncSpecMultiJvmNode3.<init>(LogReplicationDuringSnapshotSyncSpec.scala:132)
[JVM-4]   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[JVM-4]   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[JVM-4]   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[JVM-4]   at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[JVM-4]   at java.lang.Class.newInstance(Class.java:442)
[JVM-4]   at org.scalatest.tools.Runner$.genSuiteConfig(Runner.scala:1431)
[JVM-4]   at org.scalatest.tools.Runner$.$anonfun$doRunRunRunDaDoRunRun$8(Runner.scala:1239)
[JVM-4]   at scala.collection.immutable.List.map(List.scala:246)
[JVM-4]   ...
[JVM-4]   Cause: com.typesafe.config.ConfigException$Missing: merge of system properties,application.conf @ ...: 1: No configuration setting found for key 'timefactor'
[JVM-4]   at com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:156)
[JVM-4]   at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:174)
[JVM-4]   at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:188)
[JVM-4]   at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:193)
[JVM-4]   at com.typesafe.config.impl.SimpleConfig.getConfigNumber(SimpleConfig.java:223)
[JVM-4]   at com.typesafe.config.impl.SimpleConfig.getNumber(SimpleConfig.java:229)
[JVM-4]   at com.typesafe.config.impl.SimpleConfig.getDouble(SimpleConfig.java:245)
[JVM-4]   at akka.actor.testkit.typed.TestKitSettings.<init>(TestKitSettings.scala:60)
[JVM-4]   at akka.actor.testkit.typed.TestKitSettings$.apply(TestKitSettings.scala:30)
[JVM-2]   at lerna.akka.entityreplication.typed.LogReplicationDuringSnapshotSyncSpec.<init>(LogReplicationDuringSnapshotSyncSpec.scala:136)
[JVM-4]   at lerna.akka.entityreplication.typed.LogReplicationDuringSnapshotSyncSpecConfig$.<clinit>(LogReplicationDuringSnapshotSyncSpec.scala:33)
[JVM-4]   ...

To reproduce, sbt "multi-jvm:testOnly lerna.akka.entityreplication.typed.LogReplicationDuringSnapshotSyncSpec".

akka.actor.testkit.typed.TestKitSettings$.apply have to take a config that is the same layout as the akka.actor.testkit.typed section (Akka 2.6.17 - akka.actor.testkit.typed.TestKitSettings).

Furthermore, LogReplicationDuringSnapshotSyncSpec will be ignored due to unstable.

xirc commented 2 years ago

LGTM 👍