Skip to content

Commit

Permalink
Merge pull request #17 from Arkatufus/fix-writer-unit-test
Browse files Browse the repository at this point in the history
Fix WriteActor unit test
  • Loading branch information
Arkatufus authored Aug 27, 2024
2 parents 79bdfc3 + cee8948 commit a3e2ee3
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,6 @@ await WithJournalWrite(behavior => behavior.SetInterceptorAsync(new RepeatJourna
var probe = CreateTestProbe();
writer.Tell(CreateEnvelopeFor(1, 1), probe);
probe!.ExpectMsg<PersistenceWriterProtocol.PersistFailed>();
await WatchAsync(writer);
await ExpectTerminatedAsync(writer);
});
}

Expand Down Expand Up @@ -267,9 +264,6 @@ await WithSnapshotSave(behavior => behavior.SetInterceptorAsync(new RepeatSnapsh
var probe = CreateTestProbe();
writer.Tell(new SelectedSnapshot(new SnapshotMetadata("a", 999), 6), probe);
probe!.ExpectMsg<PersistenceWriterProtocol.SnapshotFailed>();
await WatchAsync(writer);
await ExpectTerminatedAsync(writer);
});
}

Expand Down

0 comments on commit a3e2ee3

Please sign in to comment.