Skip to content

Commit dced212

Browse files
committed
Added SkipVersion to tests testing new(ish) API's
Fixed namespaces of the shield tests (as done in master already)
1 parent c86fea9 commit dced212

File tree

31 files changed

+49
-50
lines changed

31 files changed

+49
-50
lines changed

paket.lock

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
NUGET
2-
remote: http://api.nuget.org/v3/index.json
2+
remote: https://www.nuget.org/api/v2
33
specs:
44
AsciiDocNet (1.0.0-alpha3)
5+
RazorMachine (2.6.1)
6+
remote: http://api.nuget.org/v3/index.json
7+
specs:
58
Bogus (3.0.5-beta-2)
69
Newtonsoft.Json (>= 8.0.2) - framework: >= net40, dnx451, dnxcore50
710
System.ComponentModel (>= 4.0.1-beta-23516) - framework: dnxcore50
@@ -56,6 +59,7 @@ NUGET
5659
Rx-PlatformServices (2.2.5)
5760
Rx-Core (>= 2.2.5)
5861
Rx-Interfaces (>= 2.2.5)
62+
SemanticVersioning (0.6.17)
5963
ShellProgressBar (3.0)
6064
System.Collections (4.0.10) - framework: dnxcore50
6165
System.Diagnostics.Debug (>= 4.0) - framework: dnxcore50
@@ -348,9 +352,6 @@ NUGET
348352
System.Threading.Tasks (>= 4.0) - framework: dnxcore50
349353
xunit.abstractions (>= 2.0) - framework: dnxcore50
350354
xunit.extensibility.core (2.1) - framework: >= net45, dnx451, dnxcore50, monoandroid, monotouch, xamarinios, winv4.5, wpv8.0, wpav8.1
351-
remote: https://www.nuget.org/api/v2
352-
specs:
353-
RazorMachine (2.6.1)
354355

355356
GROUP build
356357
NUGET

src/Tests/Aggregations/Metric/ExtendedStats/ExtendedStatsAggregationUsageTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
using System;
22
using FluentAssertions;
33
using Nest;
4+
using Tests.Framework;
45
using Tests.Framework.Integration;
56
using Tests.Framework.MockData;
67
using static Nest.Infer;
78

89
namespace Tests.Aggregations.Metric.ExtendedStats
910
{
11+
[SkipVersion("<2.2.0", "")]
1012
public class ExtendedStatsAggregationUsageTests : AggregationUsageTestBase
1113
{
1214
public ExtendedStatsAggregationUsageTests(ReadOnlyCluster i, EndpointUsage usage) : base(i, usage) { }

src/Tests/Aggregations/Pipeline/PercentilesBucket/PercentilesBucketAggregationUsageTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
using System;
22
using FluentAssertions;
33
using Nest;
4+
using Tests.Framework;
45
using Tests.Framework.Integration;
56
using Tests.Framework.MockData;
67

78
namespace Tests.Aggregations.Pipeline.PercentilesBucket
89
{
10+
[SkipVersion("<2.2.0", "")]
911
public class PercentilesBucketAggregationUsageTests : AggregationUsageTestBase
1012
{
1113
public PercentilesBucketAggregationUsageTests(ReadOnlyCluster cluster, EndpointUsage usage) : base(cluster, usage) { }

src/Tests/Cluster/TaskManagement/TasksCancel/TasksCancelApiTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
namespace Tests.Cluster.TaskManagement.TasksCancel
1212
{
1313
[Collection(IntegrationContext.OwnIndex)]
14+
[SkipVersion("<2.3.0", "")]
1415
public class TasksCancelApiTests : ApiIntegrationTestBase<ITasksCancelResponse, ITasksCancelRequest, TasksCancelDescriptor, TasksCancelRequest>
1516
{
1617
private TaskId TaskId => this.RanIntegrationSetup ? this.ExtendedValue<TaskId>("taskId") : "foo:1";

src/Tests/Document/Multiple/ReindexOnServer/ReindexOnServerApiTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
namespace Tests.Document.Multiple.ReindexOnServer
1414
{
1515
[Collection(IntegrationContext.OwnIndex)]
16+
[SkipVersion("<2.3.0", "")]
1617
public class ReindexOnServerApiTests : ApiIntegrationTestBase<IReindexOnServerResponse, IReindexOnServerRequest, ReindexOnServerDescriptor, ReindexOnServerRequest>
1718
{
1819
public class Test

src/Tests/Document/Multiple/UpdateByQuery/UpdateByQueryApiTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
namespace Tests.Document.Multiple.UpdateByQuery
1414
{
1515
[Collection(IntegrationContext.OwnIndex)]
16+
[SkipVersion("<2.3.0", "")]
1617
public class UpdateByQueryApiTests : ApiIntegrationTestBase<IUpdateByQueryResponse, IUpdateByQueryRequest, UpdateByQueryDescriptor<UpdateByQueryApiTests.Test>, UpdateByQueryRequest>
1718
{
1819
public class Test

src/Tests/Framework/Integration/Process/ElasticsearchNode.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
using Elasticsearch.Net;
1414
using Nest;
1515
using Tests.Framework;
16+
using Tests.XPack.Security;
1617

1718
namespace Tests.Framework.Integration
1819
{

src/Tests/Indices/StatusManagement/ForceMerge/ForceMergeApiTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
namespace Tests.Indices.StatusManagement.ForceMerge
1414
{
1515
[Collection(IntegrationContext.OwnIndex)]
16+
[SkipVersion("<2.1.0", "")]
1617
public class ForceMergeApiTests : ApiIntegrationTestBase<IForceMergeResponse, IForceMergeRequest, ForceMergeDescriptor, ForceMergeRequest>
1718
{
1819
public ForceMergeApiTests(OwnIndexCluster cluster, EndpointUsage usage) : base(cluster, usage) { }

src/Tests/Search/Request/ProfileUsageTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ namespace Tests.Search.Request
2121
*
2222
* See the Elasticsearch documentation on {ref_current}/search-profile.html[Profile API] for more detail.
2323
*/
24+
[SkipVersion("<2.2.0", "")]
2425
public class ProfileUsageTests : SearchUsageTestBase
2526
{
2627
public ProfileUsageTests(ReadOnlyCluster cluster, EndpointUsage usage) : base(cluster, usage) { }

src/Tests/XPack/Graph/Explore/GraphExploreApiTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
namespace Tests.XPack.Graph.Explore
1414
{
1515
[Collection(IntegrationContext.ReadOnly)]
16+
[SkipVersion("<2.3.0", "")]
1617
public class GraphExploreApiTests : ApiIntegrationTestBase<IGraphExploreResponse, IGraphExploreRequest, GraphExploreDescriptor<Project>, GraphExploreRequest>
1718
{
1819
public GraphExploreApiTests(ReadOnlyCluster cluster, EndpointUsage usage) : base(cluster, usage) { }

0 commit comments

Comments
 (0)