From e5df9355614bbbed25f6facceda49501c8015241 Mon Sep 17 00:00:00 2001 From: Thomas Farr Date: Fri, 20 Oct 2023 09:36:05 +1300 Subject: [PATCH] cleanup Signed-off-by: Thomas Farr --- .../Tests/Search/PointInTime/PointInTimeIntegrationTests.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/Tests/Search/PointInTime/PointInTimeIntegrationTests.cs b/tests/Tests/Search/PointInTime/PointInTimeIntegrationTests.cs index 0b4009386d..4d0868ea02 100644 --- a/tests/Tests/Search/PointInTime/PointInTimeIntegrationTests.cs +++ b/tests/Tests/Search/PointInTime/PointInTimeIntegrationTests.cs @@ -40,12 +40,14 @@ namespace Tests.Search.PointInTime; [SkipVersion("<2.4.0", "Point-In-Time search support was added in version 2.4.0")] -public class PointInTimeIntegrationTests : IClusterFixture +public sealed class PointInTimeIntegrationTests : IClusterFixture, IDisposable { private readonly DebugWritableCluster _cluster; public PointInTimeIntegrationTests(DebugWritableCluster cluster) => _cluster = cluster; + public void Dispose() => _cluster.Client.DeleteAllPits(); + [I] public async Task PointInTimeQuery() { var client = _cluster.Client; @@ -146,7 +148,6 @@ [I] public async Task PointInTimeSearchExtendKeepAlive() searchResp.ShouldBeValid(); var getAllResp = await client.GetAllPitsAsync(); - Console.WriteLine(getAllResp.DebugInformation); getAllResp.ShouldBeValid(); var pit = getAllResp.Pits.FirstOrDefault(p => p.PitId == createResp.PitId);