REST: Fixed msearch and mpercolate structured exception tests
This commit is contained in:
parent
211b4d9083
commit
f20b730eca
|
@ -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 }
|
||||
|
|
|
@ -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 }
|
||||
|
|
Loading…
Reference in New Issue