From a17e17ef145634bfdc2c8f6638a2e4545fe9afd2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 21 Sep 2021 14:22:41 +0100 Subject: [PATCH] Remove vectors feature check in 7.15+ (#5993) (#5996) Co-authored-by: Steve Gordon --- tests/Tests/XPack/Info/XPackInfoApiTests.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/Tests/XPack/Info/XPackInfoApiTests.cs b/tests/Tests/XPack/Info/XPackInfoApiTests.cs index a8a65f867ad..16fe46362b1 100644 --- a/tests/Tests/XPack/Info/XPackInfoApiTests.cs +++ b/tests/Tests/XPack/Info/XPackInfoApiTests.cs @@ -72,7 +72,10 @@ [I] public async Task XPackInfoResponse() => await Assert(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 @@ -122,7 +125,10 @@ [I] public async Task XPackUsageResponse() => await Assert(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"))