Skip to content

Commit bf58db3

Browse files
committed
Skip cat api fielddata tests on ES < 1.2
1 parent c758724 commit bf58db3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Tests/Nest.Tests.Integration/Core/Cat/CatTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ public async void CatCountAsync()
7878
}
7979

8080
[Test]
81+
[SkipVersion("0 - 1.1.9", "/_cat/fielddata endpoint added in 1.2")]
8182
public void CatFielddata()
8283
{
8384
TestCat(() => this._client.CatFielddata(
@@ -87,6 +88,7 @@ public void CatFielddata()
8788
}
8889

8990
[Test]
91+
[SkipVersion("0 - 1.1.9", "/_cat/fielddata endpoint added in 1.2")]
9092
public async void CatFielddataAsync()
9193
{
9294
await TestCatAsync(() => this._client.CatFielddataAsync(v => v.Fields<ElasticsearchProject>(p => p.Name)), r => r.FieldSizes.ContainsKey("name"));

0 commit comments

Comments
 (0)