Closed xirc closed 2 years ago
Prepares for https://github.com/lerna-stack/akka-entity-replication/issues/174
Add the following method and its unit test:
SnapshotStore$.persistenceId
SnapshotStore
Add the following unit tests:
EntitySnapshot
FetchSnapshot
SaveSnapshot
Change the following unit tests:
ShardSnapshotStoreFailureSpec
SnapshotTestKit
Prepares for https://github.com/lerna-stack/akka-entity-replication/issues/174
Add the following method and its unit test:
SnapshotStore$.persistenceId
: returns a persistence ID ofSnapshotStore
Add the following unit tests:
SnapshotStore
should save the givenEntitySnapshot
.SnapshotStore
should save nothing if it has the sameEntitySnapshot
.SnapshotStore
should reply toFetchSnapshot
even if it is saving anEntitySnapshot
.SnapshotStore
should log a warning if it is saving anEntitySnapshot
and receives aSaveSnapshot
command.Change the following unit tests:
ShardSnapshotStoreFailureSpec
give a persistence ID toSnapshotTestKit
for clarifying the persistence ID to fail.