Skip to content

89 databaseoperations should handle connection failures gracefull #92

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CachingTest/CachingTest.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
Expand Down
6 changes: 3 additions & 3 deletions CachingTest/DatabaseExpiredItemsRemoverLoopTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public Task DisposeAsync()
}

[Fact]
public async Task Start_WithValidInterval_StartsLoop()
public void Start_WithValidInterval_StartsLoop()
{
// Arrange
if (_removerLoop == null) throw new InvalidOperationException("RemoverLoop is null");
Expand All @@ -206,7 +206,7 @@ public async Task Start_WithValidInterval_StartsLoop()
}

[Fact]
public async Task Start_WithExceptionSetup_StartsLoop()
public void Start_WithExceptionSetup_StartsLoop()
{
// Arrange
if (_removerLoop == null) throw new InvalidOperationException("RemoverLoop is null");
Expand All @@ -222,7 +222,7 @@ public async Task Start_WithExceptionSetup_StartsLoop()
}

[Fact]
public async Task Dispose_WithRunningLoop_StopsLoop()
public void Dispose_WithRunningLoop_StopsLoop()
{
// Arrange
if (_removerLoop == null) throw new InvalidOperationException("RemoverLoop is null");
Expand Down
Loading