Skip to content

Commit

Permalink
Fixed possible deadlock with XUnit sync context when dropping test da…
Browse files Browse the repository at this point in the history
…tabases
  • Loading branch information
jhartmann123 committed Jan 26, 2023
1 parent 9e85f69 commit 9c80f44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>7.0.0</Version>
<Version>7.0.1</Version>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ protected Task<TResult> QueryAsync<TDbContext, TResult>(Func<TDbContext, Task<TR
});

public virtual Task InitializeAsync() => Task.CompletedTask;
public virtual async Task DisposeAsync() => await GetInstance<ITestStore>().OnTestEnd();
public virtual async Task DisposeAsync() => await GetInstance<ITestStore>().OnTestEnd().ConfigureAwait(false);
}

0 comments on commit 9c80f44

Please sign in to comment.