Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <[email protected]>
  • Loading branch information
Xtansia committed Oct 19, 2023
1 parent 927ef5b commit e5df935
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/Tests/Search/PointInTime/PointInTimeIntegrationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<DebugWritableCluster>
public sealed class PointInTimeIntegrationTests : IClusterFixture<DebugWritableCluster>, 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;
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit e5df935

Please sign in to comment.