Skip to content

Commit 22ae080

Browse files
committed
Fix warnings and errors
1 parent 3ef6976 commit 22ae080

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/TimeoutMigrationTool.ASQ.IntegrationTests/ASQTargetTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,6 @@ public async Task Staging_with_large_entities_batches_respecting_size_limitation
391391
var stageResult = await result.StageBatch(timeouts, 1);
392392

393393
// Assert
394-
Assert.That(stageResult, Is.Not.Null);
395394
Assert.That(stageResult, Is.EqualTo(timeouts.Count));
396395
}
397396

@@ -436,7 +435,6 @@ public async Task Completing_with_large_entities_batches_respecting_size_limitat
436435
var completeResult = await result.CompleteBatch(1);
437436

438437
// Assert
439-
Assert.That(completeResult, Is.Not.Null);
440438
Assert.That(completeResult, Is.EqualTo(timeouts.Count));
441439
}
442440

src/TimeoutMigrationTool.Tests/AbortRunnerTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ public void Setup()
3232
timeoutsSource.SetupEndpoints(endpoints);
3333
}
3434

35+
[TearDown]
36+
public async Task TearDown() => await timeoutsTarget.DisposeAsync();
37+
3538
[Test]
3639
public void WhenAbortingAndTimeoutStorageFoundNothingToAbortThrowsException()
3740
{

src/TimeoutMigrationTool.Tests/MigrationRunnerTests.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ public void Setup()
3131
timeoutsSource.SetupEndpoints(endpoints);
3232
}
3333

34+
[TearDown]
35+
public async Task TearDown() => await timeoutsTarget.DisposeAsync();
36+
3437
[Test]
3538
public async Task WhenRunningWithoutToolState()
3639
{

0 commit comments

Comments
 (0)