REST: Fixed msearch and mpercolate structured exception tests

This commit is contained in:
Clinton Gormley 2015-07-16 15:27:07 +02:00
parent 211b4d9083
commit f20b730eca
2 changed files with 2 additions and 4 deletions

View File

@ -37,7 +37,5 @@
foo: bar
- match: { responses.0.total: 1 }
- 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.1.error: "/no.such.index/" }
- 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_not_found_exception }
- match: { responses.1.error.root_cause.0.type: index_missing_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 }