Skip to content

Commit

Permalink
fixed the specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb committed Aug 16, 2024
1 parent ae2ca42 commit 1aab73b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/Akka.Persistence.TCK/Snapshot/SnapshotStoreSpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public virtual void SnapshotStore_should_load_the_most_recent_snapshot_matching_
public virtual void SnapshotStore_should_delete_a_single_snapshot_identified_by_SequenceNr_in_snapshot_metadata()
{
var md = Metadata[2];
md = new SnapshotMetadata(md.PersistenceId, md.SequenceNr, Sys.Scheduler.Now.DateTime);
md = new SnapshotMetadata(md.PersistenceId, md.SequenceNr, md.Timestamp);
var command = new DeleteSnapshot(md);
var sub = CreateTestProbe();

Expand All @@ -198,8 +198,8 @@ public virtual void SnapshotStore_should_delete_a_single_snapshot_identified_by_
_senderProbe.ExpectMsg<LoadSnapshotResult>(result =>
result.ToSequenceNr == long.MaxValue
&& result.Snapshot != null
&& result.Snapshot.Metadata.Equals(Metadata[2])
&& result.Snapshot.Snapshot.ToString() == "s-3");
&& result.Snapshot.Metadata.Equals(Metadata[1])
&& result.Snapshot.Snapshot.ToString() == "s-2");
}

// Issue #7312
Expand Down

0 comments on commit 1aab73b

Please sign in to comment.