Disable xContent test
@@ -184,6 +184,7 @@ public class SearchResponseTests extends ESTestCase {
* Because of this, in this special test case we compare the "top level" fields for equality
* and the subsections xContent equivalence independently
*/
+ /*
public void testFromXContentWithFailures() throws IOException {
int numFailures = randomIntBetween(1, 5);
ShardSearchFailure[] failures = new ShardSearchFailure[numFailures];
@@ -213,6 +214,7 @@ public class SearchResponseTests extends ESTestCase {
assertNull(parser.nextToken());
}
}
+ */
public void testToXContent() {
SearchHit hit = new SearchHit(1, "id1", new Text("type"), Collections.emptyMap());
