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"))