Skip to content

Commit

Permalink
Mute CsvProcessor tests (#4666)
Browse files Browse the repository at this point in the history
Relates: elastic/elasticsearch#55643

Mute CsvProcessor tests, until upstream bug is fixed.

(cherry picked from commit 2214855)
  • Loading branch information
russcam authored and Mpdreamz committed Apr 23, 2020
1 parent f927da4 commit 4d67fd9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Tests/Ingest/ProcessorAssertions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Elastic.Xunit.XunitPlumbing;
using Nest;
using Tests.Core.Client;
using Tests.Core.Extensions;
using Tests.Core.Xunit;
using Tests.Domain;

namespace Tests.Ingest
Expand Down Expand Up @@ -35,7 +35,7 @@ public static class ProcessorAssertions
from t in typeof(ProcessorAssertions).GetNestedTypes()
where typeof(IProcessorAssertion).IsAssignableFrom(t) && t.IsClass
let a = t.GetCustomAttributes(typeof(SkipVersionAttribute)).FirstOrDefault() as SkipVersionAttribute
where a == null || !a.Ranges.Any(r => TestClient.Configuration.InRange(r.ToString()))
where a == null || !a.Ranges.Any(r => r.IsSatisfied(TestClient.Configuration.ElasticsearchVersion))
select (IProcessorAssertion)Activator.CreateInstance(t);

public static IProcessor[] Initializers => All.Select(a => a.Initializer).ToArray();
Expand Down Expand Up @@ -71,7 +71,7 @@ public class Append : ProcessorAssertion
public override string Key => "append";
}

[SkipVersion("<7.7.0,>=7.8.0", "Empty Value introduced in Elasticsearch 7.7.0+, CSV introduced in 7.6.0+")]
[BlockedByIssue("https://github.com/elastic/elasticsearch/issues/55643")]
public class Csv : ProcessorAssertion
{
public override Func<ProcessorsDescriptor, IPromise<IList<IProcessor>>> Fluent => d => d
Expand Down
2 changes: 2 additions & 0 deletions tests/Tests/Ingest/PutPipeline/PutPipelineApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
using Tests.Configuration;
using Tests.Core.Extensions;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Core.Xunit;
using Tests.Domain;
using Tests.Framework.EndpointTests;
using Tests.Framework.EndpointTests.TestState;

namespace Tests.Ingest.PutPipeline
{
[BlockedByIssue("https://github.com/elastic/elasticsearch/issues/55643")]
public class PutPipelineApiTests
: ApiIntegrationTestBase<XPackCluster, PutPipelineResponse, IPutPipelineRequest, PutPipelineDescriptor, PutPipelineRequest>
{
Expand Down

0 comments on commit 4d67fd9

Please sign in to comment.