Skip to content

Commit

Permalink
unrelated, existing linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Baranovsky authored and jeremydmiller committed Sep 8, 2024
1 parent e861b03 commit db32b91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/DaemonTests/Bugs/Bug_2074_recovering_from_errors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public async Task do_not_blow_up()
await documentStore.Advanced.Clean.CompletelyRemoveAllAsync();

var logger = provider.GetRequiredService<ILogger<IProjectionDaemon>>();
using var daemon = await documentStore.BuildProjectionDaemonAsync(logger: logger).ConfigureAwait(false);
using var daemon = await documentStore.BuildProjectionDaemonAsync(logger: logger);
await daemon.StartAllAsync();

var waiter = daemon.Tracker.WaitForShardState("UserIssueCounter:All", 1000, 1.Hours());
Expand Down
8 changes: 3 additions & 5 deletions src/DocumentDbTests/Bugs/Bug_2942_include_error.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#nullable enable
using System;
using System.Linq;
using System.Threading.Tasks;
using Marten;
using Marten.Testing.Harness;
Expand All @@ -20,10 +20,8 @@ public async Task query_with_include()
var id = Guid.NewGuid();

DocumentB? docB = null;
var docA = await theSession.Query<DocumentA>().Include<DocumentB>(a => a.Id, b => docB = b).SingleOrDefaultAsync(a => a.Id == THEID);


var docA2 = await theSession.Query<DocumentA>().Include<DocumentB>(a => a.Id, b => docB = b).SingleOrDefaultAsync(a => a.Id == id);
await theSession.Query<DocumentA>().Include<DocumentB>(a => a.Id, b => docB = b).SingleOrDefaultAsync(a => a.Id == THEID);
await theSession.Query<DocumentA>().Include<DocumentB>(a => a.Id, b => docB = b).SingleOrDefaultAsync(a => a.Id == id);

}
}

0 comments on commit db32b91

Please sign in to comment.