Skip to content

Commit

Permalink
Trying to isolate a test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydmiller committed Oct 22, 2024
1 parent 8bd2508 commit 7198ca2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CoreTests/MartenServiceCollectionExtensionsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ public async Task apply_changes_on_startup()
// The normal Marten configuration
services.AddMarten(opts =>
{
// This helps isolate a test, not something you need to do
// in normal usage
opts.ApplyChangesLockId += 18;

opts.Connection(ConnectionSource.ConnectionString);
opts.RegisterDocumentType<User>();
})
Expand Down

0 comments on commit 7198ca2

Please sign in to comment.