Skip to content

Commit 087ebed

Browse files
committed
topgits usage test can now only run on 2.4+ due to fields
1 parent 6e1ae64 commit 087ebed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Tests/Aggregations/Metric/TopHits/TopHitsAggregationUsageTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
using System.Linq;
44
using FluentAssertions;
55
using Nest;
6+
using Tests.Framework;
67
using Tests.Framework.Integration;
78
using Tests.Framework.ManagedElasticsearch.Clusters;
89
using Tests.Framework.MockData;
910
using static Nest.Infer;
1011

1112
namespace Tests.Aggregations.Metric.TopHits
1213
{
14+
[SkipVersion("<2.4.4", "fields only works in later 2.x versions")]
1315
public class TopHitsAggregationUsageTests : AggregationUsageTestBase
1416
{
1517
public TopHitsAggregationUsageTests(ReadOnlyCluster i, EndpointUsage usage) : base(i, usage) { }

0 commit comments

Comments
 (0)