-
Notifications
You must be signed in to change notification settings - Fork 36
Add CancellationToken
support to all driver calls
#328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
52a0ad7
cb29aeb
8d5fa88
cb39136
2a6b189
933cfc8
34f9609
b8b3820
aeb6f25
9ddf5c6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
//----------------------------------------------------------------------- | ||
|
||
using FluentAssertions; | ||
using FluentAssertions.Extensions; | ||
using Xunit; | ||
|
||
namespace Akka.Persistence.MongoDb.Tests | ||
|
@@ -23,6 +24,7 @@ public void Mongo_JournalSettings_must_have_default_values() | |
mongoPersistence.JournalSettings.Collection.Should().Be("EventJournal"); | ||
mongoPersistence.JournalSettings.MetadataCollection.Should().Be("Metadata"); | ||
mongoPersistence.JournalSettings.LegacySerialization.Should().BeFalse(); | ||
mongoPersistence.JournalSettings.CallTimeout.Should().Be(10.Seconds()); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Validate new settings as part of our normal |
||
} | ||
|
||
[Fact] | ||
|
@@ -34,6 +36,7 @@ public void Mongo_SnapshotStoreSettingsSettings_must_have_default_values() | |
mongoPersistence.SnapshotStoreSettings.AutoInitialize.Should().BeTrue(); | ||
mongoPersistence.SnapshotStoreSettings.Collection.Should().Be("SnapshotStore"); | ||
mongoPersistence.SnapshotStoreSettings.LegacySerialization.Should().BeFalse(); | ||
mongoPersistence.SnapshotStoreSettings.CallTimeout.Should().Be(10.Seconds()); | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
|
||
<PropertyGroup> | ||
<TargetFrameworks>$(NetStandardLibVersion)</TargetFrameworks> | ||
<LangVersion>latest</LangVersion> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added this in order to support |
||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated README to include
call-timeout
settings.