kibana/x-pack/test/api_integration
Liza Katz 841ab704b8
[Search Sessions] Improve search session errors (#88613)
* Detect ESError correctly
Fix bfetch error (was recognized as unknown error)
Make sure handleSearchError always returns an error object.

* fix tests and improve types

* type

* normalize search error response format for search and bsearch

* type

* Added es search exception examples

* Normalize and validate errors thrown from oss es_search_strategy
Validate abort

* Added tests for search service error handling

* Update msearch tests to test for errors

* Moved bsearch route to routes folder
Adjusted bsearch response format
Added verification of error's root cause

* Align painless error object

* eslint

* Add to seach interceptor tests

* add json to tsconfig

* docs

* updated xpack search strategy tests

* oops

* license header

* Add test for xpack painless error format

* doc

* Fix bsearch test potential flakiness

* code review

* fix

* code review 2

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-31 12:16:46 +02:00
..
apis [Search Sessions] Improve search session errors (#88613) 2021-01-31 12:16:46 +02:00
services [ML] Initial API integration tests for ML jobs in spaces (#84789) 2020-12-07 16:26:57 +01:00
config.ts [Search Sessions] Replace search session constants with kibana.yml configs (#88023) 2021-01-15 01:14:02 +02:00
config_security_basic.ts Re-enable session lifespan, idle timeout api integration tests and use unique names for the security test reports. (#77746) 2020-09-18 11:08:10 +02:00
config_security_trial.ts Re-enable session lifespan, idle timeout api integration tests and use unique names for the security test reports. (#77746) 2020-09-18 11:08:10 +02:00
ftr_provider_context.d.ts