kibana/x-pack/test
Frank Hassanabad ede8ed3f95
[Security Solutions ] Fixes failed to query DNS data - too_many_buckets_exception (#97069)
## Summary

Fixes a bug where on the DNS tab of networks you can get a `too_many_buckets_exception`. Worked through the query with @angorayc and together I think we figured out that the query could be re-written with aggregations in a way to get the same results without having to query a large amount of terms which causes the buckets exception.

Added a e2e test and one way of being able to call bsearch in the e2e when it returns the search is still in progress so we don't have the large query test cause flakiness 🤞 .

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2021-04-15 09:22:56 -06:00
..
accessibility unskip accessibility - dashboard_edit_panel tests (#96710) 2021-04-14 15:05:12 -07:00
alerting_api_integration Fix alerting flaky test by adding retryIfConflict to fixture APIs (#96226) 2021-04-13 13:29:22 -04:00
api_integration [Security Solutions ] Fixes failed to query DNS data - too_many_buckets_exception (#97069) 2021-04-15 09:22:56 -06:00
api_integration_basic Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
apm_api_integration [RAC] Rule registry plugin (#95903) 2021-04-09 10:35:44 +02:00
banners_functional add per space configuration to custom header banner (#94449) 2021-03-31 10:57:06 +02:00
case_api_integration [Cases] Fix _find API total bug (#95235) 2021-03-26 08:46:07 -04:00
common Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
detection_engine_api_integration [Security Solution] Populates threat.indicator.event with _source.event (#951) (#95697) 2021-03-31 11:37:24 -04:00
encrypted_saved_objects_api_integration Migrate away from legacyEs service in tests. (#95402) 2021-03-26 18:49:19 +01:00
endpoint_api_integration_no_ingest Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
examples chore(NA): enable preserve symlinks for ts without breaking packages development (#95433) 2021-03-31 00:02:22 +01:00
fleet_api_integration [Fleet] Fleet server onboarding UI (#96867) 2021-04-15 01:22:32 -04:00
fleet_functional [Fleet] Bootstrap functional test suite (#91898) 2021-02-18 16:34:50 -05:00
functional [Security Solutions ] Fixes failed to query DNS data - too_many_buckets_exception (#97069) 2021-04-15 09:22:56 -06:00
functional_basic [ML] Fix import missing range for File Data Visualizer, Discover card visible when disabled, texts (#91352) 2021-02-16 16:05:01 +01:00
functional_cors chore(NA): enable preserve symlinks for ts without breaking packages development (#95433) 2021-03-31 00:02:22 +01:00
functional_embedded [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
functional_enterprise_search [App Search] Add delete action to EnginesTable component (#92844) 2021-03-09 09:49:52 -05:00
functional_vis_wizard Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
functional_with_es_ssl [Alerting] Preconfigured alert history index connector (#94909) 2021-04-08 18:18:44 -04:00
licensing_plugin chore(NA): enable preserve symlinks for ts without breaking packages development (#95433) 2021-03-31 00:02:22 +01:00
lists_api_integration ES client : use the new type definitions (#83808) 2021-03-25 04:47:16 -04:00
load [loa testing] wait 60 sec b/w simulations (#96612) 2021-04-08 23:07:08 +02:00
observability_api_integration ES client : use the new type definitions (#83808) 2021-03-25 04:47:16 -04:00
plugin_api_integration [Event Log] Extend ECS event schema with fields needed for Detection Engine (#95067) 2021-03-29 14:59:36 +02:00
plugin_api_perf [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
plugin_functional [Security Solution][RAC][Timeline] Timeline plugin skeleton and test plugin harness (#95683) 2021-03-31 15:33:19 -04:00
reporting_api_integration Reporting: Refactor functional tests with security roles checks (#96856) 2021-04-14 09:20:59 -07:00
reporting_functional Reporting: Refactor functional tests with security roles checks (#96856) 2021-04-14 09:20:59 -07:00
saved_object_api_integration Migrate away from legacyEs service in tests. (#95402) 2021-03-26 18:49:19 +01:00
saved_object_tagging skip flaky suite (#89958) 2021-02-17 06:55:11 -08:00
saved_objects_field_count Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
search_sessions_integration [Search Sessions] Rename search sessions functional tests. Remove wip mention (#95330) 2021-03-26 18:08:46 +01:00
security_api_integration chore(NA): enable preserve symlinks for ts without breaking packages development (#95433) 2021-03-31 00:02:22 +01:00
security_functional Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
security_solution_cypress [Security Solution][Detections] Improves indicator match Cypress tests (#94913) 2021-03-25 19:25:49 +01:00
security_solution_endpoint chore(NA): enable preserve symlinks for ts without breaking packages development (#95433) 2021-03-31 00:02:22 +01:00
security_solution_endpoint_api_int skip flaky test blocking snapshot promotion. #96515 2021-04-08 13:23:05 -05:00
security_solution_ftr/page_objects/detections Add a11y test coverage to Rule Creation Flow for Detections tab (#94377) 2021-03-25 15:05:23 -04:00
spaces_api_integration skip flaky suite (#92358) 2021-03-29 13:11:33 +01:00
stack_functional_integration ccs_discover additional tests (#96669) 2021-04-12 12:23:46 -07:00
ui_capabilities [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
upgrade Fix reporting test (#95586) 2021-03-26 16:33:29 -06:00
upgrade_assistant_integration Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
usage_collection [Plugins Discovery] Enforce camelCase plugin IDs (#90752) 2021-02-11 14:36:17 +00:00
visual_regression Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
tsconfig.json Merge tsconfig and x-pack/tsconfig files (#94519) 2021-03-16 15:13:49 +01:00