Skip to content

Commit

Permalink
Remove vectors feature check in 7.15+ (#5993) (#5996)
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Gordon <sgordon@hotmail.co.uk>
  • Loading branch information
github-actions[bot] and stevejgordon authored Sep 21, 2021
1 parent 07a1d45 commit a17e17e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/Tests/XPack/Info/XPackInfoApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ [I] public async Task XPackInfoResponse() => await Assert<XPackInfoResponse>(XPa
if (TestConfiguration.Instance.InRange(">=7.3.0"))
{
r.Features.Vectors.Should().NotBeNull();
if (TestConfiguration.Instance.InRange("<7.15.0"))
{
r.Features.Vectors.Should().NotBeNull();
}
if (TestConfiguration.Instance.InRange("<7.5.0"))
#pragma warning disable 618
Expand Down Expand Up @@ -122,7 +125,10 @@ [I] public async Task XPackUsageResponse() => await Assert<XPackUsageResponse>(X
if (TestConfiguration.Instance.InRange(">=7.3.0"))
{
r.Vectors.Should().NotBeNull();
if (TestConfiguration.Instance.InRange("<7.15.0"))
{
r.Vectors.Should().NotBeNull();
}
r.VotingOnly.Should().NotBeNull();
if (TestConfiguration.Instance.InRange("<7.5.0"))
Expand Down

0 comments on commit a17e17e

Please sign in to comment.