[Test] Mute SearchResponseTests.testFromXContent()

And also AggregationsTests.testFromXContent() until
https://github.com/elastic/elasticsearch/pull/24964 is merged.
This commit is contained in:
Tanguy Leroux 2017-05-31 09:16:23 +02:00
parent 6945d7b046
commit 8e0d6015f9
2 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,7 @@ public class SearchResponseTests extends ESTestCase {
return new SearchResponse(internalSearchResponse, null, totalShards, successfulShards, tookInMillis, shardSearchFailures);
}
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/24891")
public void testFromXContent() throws IOException {
// the "_shard/total/failures" section makes if impossible to directly compare xContent, so we omit it here
SearchResponse response = createTestItem();

View File

@ -166,6 +166,7 @@ public class AggregationsTests extends ESTestCase {
}
}
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/24891")
public void testFromXContent() throws IOException {
XContentType xContentType = randomFrom(XContentType.values());
final ToXContent.Params params = new ToXContent.MapParams(singletonMap(RestSearchAction.TYPED_KEYS_PARAM, "true"));