Skip to content

Commit c0162f2

Browse files
committed
Skip percentile ranks and top hits tests on ES < 1.3
1 parent 8b02c70 commit c0162f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Tests/Nest.Tests.Integration/Aggregations/MetricAggregationTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ public void ValueCount()
122122
}
123123

124124
[Test]
125+
[SkipVersion("0 - 1.2.9", "Percentile ranks agg added in 1.3")]
125126
public void PercentilesRank()
126127
{
127128
var results = this.Client.Search<ElasticsearchProject>(s => s
@@ -166,6 +167,7 @@ public void GeoBounds()
166167
}
167168

168169
[Test]
170+
[SkipVersion("0 - 1.2.9", "Top hits agg added in 1.3")]
169171
public void TopHits()
170172
{
171173
var results = this.Client.Search<ElasticsearchProject>(s => s

0 commit comments

Comments
 (0)