Skip to content

Commit 35101a9

Browse files
committed
Skip Percolator tests
Fail in 5.0.0-alpha2 and 3 as .percolator type is no longer valid (keep in client for backwards compatibility for old indices upgraded).
1 parent 3839351 commit 35101a9

File tree

12 files changed

+13
-1
lines changed

12 files changed

+13
-1
lines changed

src/Tests/Search/Percolator/MultiPercolate/MultiPercolateApiTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
namespace Tests.Search.Percolator.MultiPercolate
1515
{
1616
[Collection(TypeOfCluster.Indexing)]
17-
[SkipVersion("5.0.0-alpha2,5.0.0-alpha3", "deprecated. TODO: Remove?")]
17+
[SkipVersion("5.0.0-alpha2,5.0.0-alpha3", "deprecated")]
1818
public class MultiPercolateApiTests : ApiIntegrationTestBase<IMultiPercolateResponse, IMultiPercolateRequest, MultiPercolateDescriptor, MultiPercolateRequest>
1919
{
2020
public MultiPercolateApiTests(IndexingCluster cluster, EndpointUsage usage) : base(cluster, usage) { }

src/Tests/Search/Percolator/MultiPercolate/MultiPercolateInvalidApiTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
namespace Tests.Search.Percolator.MultiPercolate
1515
{
1616
[Collection(TypeOfCluster.ReadOnly)]
17+
[SkipVersion("5.0.0-alpha2,5.0.0-alpha3", "deprecated")]
1718
public class MultiPercolateInvalidApiTests
1819
: ApiIntegrationTestBase<IMultiPercolateResponse, IMultiPercolateRequest, MultiPercolateDescriptor, MultiPercolateRequest>
1920
{

src/Tests/Search/Percolator/MultiPercolate/MultiPercolateUrlTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
namespace Tests.Search.Percolator.MultiPercolate
1010
{
11+
[SkipVersion("5.0.0-alpha2,5.0.0-alpha3", "deprecated")]
1112
public class MultiPercolateUrlTests
1213
{
1314
[U] public async Task Urls()

src/Tests/Search/Percolator/Percolate/PercolateApiTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
namespace Tests.Search.Percolator.Percolate
1717
{
1818
[Collection(TypeOfCluster.Indexing)]
19+
[SkipVersion("5.0.0-alpha2,5.0.0-alpha3", "deprecated")]
1920
public class PercolateApiTests : ApiIntegrationTestBase<IPercolateResponse, IPercolateRequest<Project>, PercolateDescriptor<Project>, PercolateRequest<Project>>
2021
{
2122
public PercolateApiTests(IndexingCluster cluster, EndpointUsage usage) : base(cluster, usage) { }

src/Tests/Search/Percolator/Percolate/PercolateUrlTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
namespace Tests.Search.Percolator.Percolate
1010
{
11+
[SkipVersion("5.0.0-alpha2,5.0.0-alpha3", "deprecated")]
1112
public class PercolateUrlTests
1213
{
1314
[U] public async Task Urls()

src/Tests/Search/Percolator/PercolateCount/PercolateCountApiTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Tests.Search.Percolator.PercolateCount
1313
{
1414
[Collection(TypeOfCluster.ReadOnly)]
15+
[SkipVersion("5.0.0-alpha2,5.0.0-alpha3", "deprecated")]
1516
public class PercolateCountApiTests
1617
: ApiIntegrationTestBase<IPercolateCountResponse, IPercolateCountRequest<Project>, PercolateCountDescriptor<Project>, PercolateCountRequest<Project>>
1718
{
@@ -77,6 +78,7 @@ protected override void ExpectResponse(IPercolateCountResponse response)
7778
}
7879

7980
[Collection(TypeOfCluster.ReadOnly)]
81+
[SkipVersion("5.0.0-alpha2,5.0.0-alpha3", "deprecated")]
8082
public class PercolateCountExistingDocApiTests
8183
: ApiIntegrationTestBase<IPercolateCountResponse, IPercolateCountRequest<Project>, PercolateCountDescriptor<Project>, PercolateCountRequest<Project>>
8284
{

src/Tests/Search/Percolator/PercolateCount/PercolateCountUrlTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
namespace Tests.Search.Percolator.PercolateCount
1010
{
11+
[SkipVersion("5.0.0-alpha2,5.0.0-alpha3", "deprecated")]
1112
public class CountPercolateUrlTests
1213
{
1314
[U] public async Task Urls()

src/Tests/Search/Percolator/RegisterPercolator/RegisterPercolatorApiTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
namespace Tests.Search.Percolator.RegisterPercolator
1414
{
1515
[Collection(TypeOfCluster.Indexing)]
16+
[SkipVersion("5.0.0-alpha2,5.0.0-alpha3", "deprecated")]
1617
public class RegisterPercolatorApiTests : ApiIntegrationTestBase<IRegisterPercolatorResponse, IRegisterPercolatorRequest, RegisterPercolatorDescriptor<Project>, RegisterPercolatorRequest>
1718
{
1819
public RegisterPercolatorApiTests(IndexingCluster cluster, EndpointUsage usage) : base(cluster, usage) { }

src/Tests/Search/Percolator/RegisterPercolator/RegisterPercolatorUrlTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
namespace Tests.Search.Percolator.RegisterPercolator
1010
{
11+
[SkipVersion("5.0.0-alpha2,5.0.0-alpha3", "deprecated")]
1112
public class RegisterPercolatorUrlTests
1213
{
1314
[U] public async Task Urls()

src/Tests/Search/Percolator/UnregisterPercolator/UnregisterPercolatorApiTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Tests.Search.Percolator.UnregisterPercolator
1313
{
1414
[Collection(TypeOfCluster.Indexing)]
15+
[SkipVersion("5.0.0-alpha2,5.0.0-alpha3", "deprecated")]
1516
public class UnregisterPercolatorApiTests : ApiIntegrationTestBase<IUnregisterPercolatorResponse, IUnregisterPercolatorRequest, UnregisterPercolatorDescriptor<Project>, UnregisterPercolatorRequest>
1617
{
1718
public UnregisterPercolatorApiTests(IndexingCluster cluster, EndpointUsage usage) : base(cluster, usage)

0 commit comments

Comments
 (0)