Skip to content

Commit fc1ed40

Browse files
authored
Remove vectors feature check in 7.15+ (#5993)
1 parent 312c271 commit fc1ed40

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/Tests/XPack/Info/XPackInfoApiTests.cs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ [I] public async Task XPackInfoResponse() => await Assert<XPackInfoResponse>(XPa
7272

7373
if (TestConfiguration.Instance.InRange(">=7.3.0"))
7474
{
75-
r.Features.Vectors.Should().NotBeNull();
75+
if (TestConfiguration.Instance.InRange("<7.15.0"))
76+
{
77+
r.Features.Vectors.Should().NotBeNull();
78+
}
7679

7780
if (TestConfiguration.Instance.InRange("<7.5.0"))
7881
#pragma warning disable 618
@@ -122,7 +125,10 @@ [I] public async Task XPackUsageResponse() => await Assert<XPackUsageResponse>(X
122125

123126
if (TestConfiguration.Instance.InRange(">=7.3.0"))
124127
{
125-
r.Vectors.Should().NotBeNull();
128+
if (TestConfiguration.Instance.InRange("<7.15.0"))
129+
{
130+
r.Vectors.Should().NotBeNull();
131+
}
126132
r.VotingOnly.Should().NotBeNull();
127133

128134
if (TestConfiguration.Instance.InRange("<7.5.0"))

0 commit comments

Comments
 (0)