Skip to content

Commit

Permalink
temporarily disable test during rc1 because the delete response chang…
Browse files Browse the repository at this point in the history
…ed for documents with not existing index elastic/elasticsearch#27070
  • Loading branch information
Mpdreamz committed Oct 21, 2017
1 parent 4d492e3 commit fe020f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Tests/XPack/Watcher/DeleteWatch/DeleteWatchApiTests.cs
Expand Up @@ -29,7 +29,7 @@ protected override void IntegrationSetup(IElasticClient client, CallUniqueValues
)
)
.Actions(a => a
.Email("reminder_email", e => e
.Email("reminder_email", e => e
.To("me@example.com")
.Subject("Something's strange in the neighbourhood")
.Body(b => b
Expand Down Expand Up @@ -76,6 +76,7 @@ protected override void ExpectResponse(IDeleteWatchResponse response)
}
}

[SkipVersion("6.0.0-rc1", "Delete document response on non existing index has changed")]
public class DeleteNonExistentWatchApiTests : ApiIntegrationTestBase<XPackCluster, IDeleteWatchResponse, IDeleteWatchRequest, DeleteWatchDescriptor, DeleteWatchRequest>
{
public DeleteNonExistentWatchApiTests(XPackCluster cluster, EndpointUsage usage) : base(cluster, usage) { }
Expand All @@ -101,8 +102,7 @@ public class DeleteNonExistentWatchApiTests : ApiIntegrationTestBase<XPackCluste

protected override Func<DeleteWatchDescriptor, IDeleteWatchRequest> Fluent => p => p;

protected override DeleteWatchRequest Initializer =>
new DeleteWatchRequest(CallIsolatedValue);
protected override DeleteWatchRequest Initializer => new DeleteWatchRequest(CallIsolatedValue);

protected override void ExpectResponse(IDeleteWatchResponse response)
{
Expand Down

0 comments on commit fe020f1

Please sign in to comment.