Revert "REST: Fixed msearch and mpercolate structured exception tests"

This reverts commit f20b730eca.
This commit is contained in:
Clinton Gormley 2015-07-16 17:06:45 +02:00
parent f20b730eca
commit d4b94a9be2
2 changed files with 4 additions and 2 deletions

View File

@ -37,5 +37,7 @@
foo: bar
- match: { responses.0.total: 1 }
- match: { responses.1.error: "/no.such.index/" }
- match: { responses.1.error.root_cause.0.type: index_not_found_exception }
- match: { responses.1.error.root_cause.0.reason: "/no.such.index/" }
- match: { responses.1.error.root_cause.0.index: percolator_index1 }
- match: { responses.2.total: 1 }

View File

@ -39,7 +39,7 @@
match: {foo: bar}
- match: { responses.0.hits.total: 3 }
- match: { responses.1.error.root_cause.0.type: index_missing_exception }
- match: { responses.1.error.root_cause.0.type: index_not_found_exception }
- match: { responses.1.error.root_cause.0.reason: "/no.such.index/" }
- match: { responses.1.error.root_cause.0.index: test_2 }
- match: { responses.2.hits.total: 1 }