Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatible Delete and Update rest actions #58246

Merged
merged 64 commits into from
Jul 14, 2020

Conversation

pgomulka
Copy link
Contributor

@pgomulka pgomulka commented Jun 17, 2020

based on compat/search branch

fixed tests from delete and update directories.
Delete test is still not fixed
CompatRestIT. test {yaml=delete/70_mix_typeless_typeful/DELETE with typeless API on an index that has types}

current state
1306tests | 174failures

previously
1306tests | 197failures

relates #54160

fixed get/index tests
CompatRestIT. test {yaml=get/21_stored_fields_with_types/Stored fields}
CompatRestIT. test {yaml=get/71_source_filtering_with_types/Source
filtering}

CompatRestIT. test {yaml=index/70_mix_typeless_typeful/Index call that
introduces new field mappings}
CompatRestIT. test {yaml=index/70_mix_typeless_typeful/Index with
typeless API on an index that has types}

however the last one from get is still failing
CompatRestIT. test {yaml=get/100_mix_typeless_typeful/GET with typeless
API on an index that has
@pgomulka pgomulka added the :Core/Infra/REST API REST infrastructure and utilities label Jun 17, 2020
@pgomulka pgomulka self-assigned this Jun 17, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/REST API)

@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Jun 17, 2020
@pgomulka pgomulka mentioned this pull request Jun 17, 2020
66 tasks
@pgomulka
Copy link
Contributor Author

pgomulka commented Jul 14, 2020

("175 błędów / +175")org.elasticsearch.rest.compat.CompatRestIT.test {yaml=bulk/11_basic_with_types/Empty _id with op_type create}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=get_source/86_source_missing_with_types/Missing document source with ignore}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search/110_field_collapsing/field collapsing and inner_hits}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=explain/40_mix_typeless_typeful/Explain with typeless API on an index that has types}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.put_mapping/all_path_options_with_types/put mapping with blank index}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.stats/15_types/Types - one}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.create/11_basic_with_types/Create index with settings}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/51_field_wildcards_with_types/Get field mapping should work using '' for indices and types}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/11_basic_with_types/Get /_mapping}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search/150_rewrite_on_coordinator/Ensure that we fetch the document only once}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.create/20_mix_typeless_typeful/Implicitly create a typed index while there is a typeless template}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/11_basic_with_types/Get field mapping with no index and type}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=snapshot.get/10_basic/Get snapshot info when verbose is false}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.put_template/11_basic_with_types/Put multiple template}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.put_template/10_basic/Put template with explicit _doc type}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/51_field_wildcards_with_types/Get field mapping with t for fields}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.stats/15_types/Types - indexing metric}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.put_mapping/all_path_options_with_types/put mapping in * index}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mlt/20_docs/Basic mlt query with docs}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=get/100_mix_typeless_typeful/GET with typeless API on an index that has types}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.create/11_basic_with_types/Create index with write aliases}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=get_source/81_missing_with_types/Missing document with catch}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/11_basic_with_types/Get /index*/_mapping/{type}}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.stats/15_types/Types - star}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.forcemerge/10_basic/Check deprecation warning when incompatible only_expunge_deletes and max_num_segments values are both set}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mget/23_stored_fields_with_types/Stored fields}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search/110_field_collapsing/field collapsing, inner_hits and maxConcurrentGroupRequests}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mget/22_ids_with_types/IDs}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.split/30_copy_settings/Copy settings during split index}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mget/61_realtime_refresh_with_types/Realtime Refresh}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.put_mapping/10_basic/Put mappings with explicit _doc type}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.put_mapping/all_path_options_with_types/put one mapping per index}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=bulk/51_refresh_with_types/refresh=true immediately makes changes are visible in search}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mget/18_non_existent_index_with_types/Non-existent index}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/11_basic_with_types/Get field mapping by type & field}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=termvectors/20_issue7121/Term vector API should return 'found: false' for docs between index and refresh}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=get_source/41_routing_with_types/Routing}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search.aggregation/20_terms/Deprecated _term order}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/11_basic_with_types/Get /{index}/_mapping/{type*}}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mget/19_missing_metadata_with_types/Missing metadata}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mget/14_alias_to_multiple_indices/Multi Get with alias that resolves to multiple indices}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=bulk/51_refresh_with_types/refresh=empty string immediately makes changes are visible in search}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=create/71_nested_with_types/Indexing a doc with No. nested objects more than index.mapping.nested_objects.limit should fail}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.flush/10_basic/Index synced flush rest test}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search_shards/10_basic/Search shards aliases with and without filters}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mget/17_default_index/Default index/type}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=bulk/81_cas_with_types/Compare And Swap Sequence Numbers}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=cat.shards/10_basic/Help}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=bulk/31_big_string_with_types/One big string}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.rollover/41_mapping_with_types/Typeless mapping}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=count/11_basic_with_types/count body without query element}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.stats/15_types/Types - pattern}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search/70_response_filtering/Search with response filtering}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mget/71_source_filtering_with_types/Source filtering - include field}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.create/11_basic_with_types/Create index with wait_for_active_shards set to all}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search/110_field_collapsing/field collapsing and multiple inner_hits}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.create/20_mix_typeless_typeful/Create a typeless index while there is a typed template}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/11_basic_with_types/Get /{index}/_mapping with empty mappings}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=delete/70_mix_typeless_typeful/DELETE with typeless API on an index that has types}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/40_aliases/Getting mapping for aliases should return the real index as key}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search/110_field_collapsing/field collapsing, inner_hits and version}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=explain/11_basic_with_types/Basic explain with alias}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search/171_terms_query_with_types/Terms Query with No.of terms exceeding index.max_terms_count should FAIL}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=cat.snapshots/10_basic/Help}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.put_mapping/all_path_options_with_types/put mapping in prefix* index}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=get_source/86_source_missing_with_types/Missing document source with catch}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=bulk/41_source_with_types/Source filtering}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/11_basic_with_types/Get /_mapping/{type}}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=cat.snapshots/10_basic/Test cat snapshots output}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.stats/15_types/Types - _all metric}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/11_basic_with_types/Get field mapping should work without index specifying type and fields}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/11_basic_with_types/Get /{index}/_mapping/{type}}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.put_mapping/20_mix_typeless_typeful/PUT mapping with _doc on an index that has types}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/11_basic_with_types/Get /_all/_mapping/{type}}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/11_basic_with_types/Get /index,index/_mapping/{type}}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search/110_field_collapsing/field collapsing, inner_hits and seq_no}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=explain/31_query_string_with_types/explain with query_string parameters}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.create/11_basic_with_types/Create index with mappings}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=explain/11_basic_with_types/Basic explain}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mget/71_source_filtering_with_types/Source filtering - exclude field}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search/40_indices_boost/Indices boost using object}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.stats/20_translog/Translog stats on closed indices without soft-deletes}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=get_source/61_realtime_refresh_with_types/Realtime}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search/10_source_filtering/docvalue_fields with default format}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=bulk/11_basic_with_types/empty action}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=bulk/21_list_of_strings_with_types/List of strings}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=bulk/11_basic_with_types/Empty _id}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=snapshot.get/10_basic/Get missing snapshot info succeeds when ignore_unavailable is true}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.create/11_basic_with_types/Create index}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/11_basic_with_types/Get field mapping by type & field, with another field that doesn't exist}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mget/21_alias_to_multiple_indices_with_types/Multi Get with alias that resolves to multiple indices}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/60_mix_typeless_typeful/GET mapping with typeless API on an index that has types}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/20_missing_type/Existent and non-existent type returns 404 and the existing type}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search.inner_hits/10_basic/Nested doc version and seqIDs}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/20_missing_type/Existent and non-existent types returns 404 and the existing type}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.shrink/30_copy_settings/Copy settings during shrink index}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/20_missing_type/Non-existent type returns 404}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/21_missing_field_with_types/Return empty object if field doesn't exist, but type and index do}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get/11_basic_with_types/Test include_type_name}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=snapshot.get/10_basic/Get snapshot info}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.rollover/40_mapping/Mappings with explicit _doc type}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=termvectors/21_issue7121_with_types/Term vector API should return 'found: false' for docs between index and refresh}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/11_basic_with_types/Get field mapping with include_defaults}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/11_basic_with_types/Get /{index}/_mapping/_all}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/51_field_wildcards_with_types/Get field mapping should work using comma_separated values for indices and types}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=count/11_basic_with_types/count with body}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/51_field_wildcards_with_types/Get field mapping with * for fields}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=get_source/81_missing_with_types/Missing document with ignore}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/11_basic_with_types/Get /{index}/_mapping/}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=termvectors/50_mix_typeless_typeful/Term vectors with typeless API on an index that has types}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.create/20_mix_typeless_typeful/Create a typed index while there is a typeless template}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=count/11_basic_with_types/count with empty body}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/20_missing_type/Type missing when no types exist}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=cluster.voting_config_exclusions/10_basic/Throw exception when adding voting config exclusion without specifying nodes}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/10_basic/Get field mapping with local is deprecated}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=snapshot.get/10_basic/Get missing snapshot info throws an exception}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=explain/21_source_filtering_with_types/Source filtering}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search/20_default_values/Basic search}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.put_mapping/20_mix_typeless_typeful/PUT mapping with typeless API on an index that has types}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search/310_match_bool_prefix/multi_match multiple fields with cutoff_frequency throws exception}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.put_mapping/all_path_options_with_types/post a mapping with default analyzer twice}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.put_mapping/all_path_options_with_types/put mapping in list of indices}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=get_source/71_source_filtering_with_types/Source filtering}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=explain/10_basic/Basic explain with alias}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/11_basic_with_types/Get //_mapping/{type}}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mget/71_source_filtering_with_types/Source filtering - true/false}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=bulk/11_basic_with_types/Array of objects}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.put_mapping/11_basic_with_types/Test Create and update mapping}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=explain/20_source_filtering/Source filtering}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search.inner_hits/10_basic/Nested inner hits}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search/110_field_collapsing/field collapsing and from}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/51_field_wildcards_with_types/Get field mapping with wildcarded relative names}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/30_missing_type/Raise 404 when type doesn't exist}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=cat.recovery/10_basic/Test cat recovery output for closed index}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=bulk/51_refresh_with_types/refresh=wait_for waits until changes are visible in search}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/51_field_wildcards_with_types/Get field mapping should work using '_all' for indices and types}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/11_basic_with_types/Get field mapping by index only}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.stats/15_types/Types - multi metric}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_field_mapping/51_field_wildcards_with_types/Get field mapping with *t1 for fields}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.create/20_mix_typeless_typeful/Implicitly create a typeless index while there is a typed template}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/20_missing_type/No type matching pattern returns 404}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search.aggregation/10_histogram/Deprecated _time order}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.stats/20_translog/Translog retention settings are deprecated}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=get_source/11_basic_with_types/Basic with types}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=cat.recovery/10_basic/Test cat recovery output}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mget/41_routing_with_types/Routing}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mget/10_basic/Basic multi-get}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search.aggregation/51_filter_with_types/Filter aggs with terms lookup and ensure it's cached}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=snapshot.get/10_basic/Get snapshot info contains include_global_state}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_template/11_basic_with_types/Get template}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mlt/30_unlike/Basic mlt query with unlike}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.put_template/11_basic_with_types/Put template}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=explain/10_basic/Basic explain}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mget/71_source_filtering_with_types/Source filtering - include nested field}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.create/11_basic_with_types/Create index with aliases}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/61_empty_with_types/Check empty mapping when getting all mappings via /_mapping}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.create/10_basic/Create index without soft deletes}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search/90_search_after/search with search_after parameter}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.create/11_basic_with_types/Create index with no type mappings}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search/100_stored_fields/Stored fields}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.put_template/11_basic_with_types/Put template with empty mappings}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.create/10_basic/Create index with explicit _doc type}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_mapping/11_basic_with_types/Get /{index}/_mapping}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.stats/15_types/Types - multi}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=get_source/16_default_values_with_types/Default values}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.stats/20_translog/Translog retention without soft_deletes}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=suggest/20_completion/Suggestions with source should work}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mget/11_default_index_type/Default index/type}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=snapshot.get/10_basic/Get snapshot info with metadata}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search.aggregation/200_top_hits_metric/top_hits aggregation with sequence numbers}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.put_mapping/all_path_options_with_types/put mapping in _all index}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=indices.get_template/11_basic_with_types/Get template with no mappings}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=mget/16_basic_with_types/Basic multi-get}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=cluster.voting_config_exclusions/10_basic/Throw exception when adding voting config exclusion and specifying both node_ids and node_names}org.elasticsearch.rest.compat.CompatRestIT.test {yaml=search/110_field_collapsing/field collapsing}

@pgomulka pgomulka merged commit e457a92 into elastic:compat_rest_api Jul 14, 2020
pgomulka added a commit that referenced this pull request Jul 14, 2020
based on pgomulka:compat/delete_update #58246

CompatRestIT. test {yaml=indices.get_field_mapping/30_missing_type/Raise 404 when type doesn't exist}
because of that change (custom type to _doc) a test that was expecting 404 for a type that did not exist, passes now as the logic is trying to fetch for _doc (any type that exist on that index will be good).

CompatRestIT. test {yaml=indices.get_mapping/11_basic_with_types/Get /{index}/_mapping with empty mappings}
this is because I can't tell if the mapping contained a type or not when fetching a mapping.

CompatRestIT. test {yaml=indices.get_mapping/20_missing_type/Existent and non-existent type returns 404 and the existing type}
CompatRestIT. test {yaml=indices.get_mapping/20_missing_type/Existent and non-existent types returns 404 and the existing type}
CompatRestIT. test {yaml=indices.get_mapping/20_missing_type/No type matching pattern returns 404}
CompatRestIT. test {yaml=indices.get_mapping/20_missing_type/Non-existent type returns 404}
failing - (not returning 404) - because type is always found (defaulted to _doc)

CompatRestIT. test {yaml=indices.get_mapping/20_missing_type/Type missing when no types exist}
CompatRestIT. test {yaml=indices.get_mapping/61_empty_with_types/Check empty mapping when getting all mappings via /_mapping}
CompatRestIT. test {yaml=indices.get_template/11_basic_with_types/Get template with no mappings}
CompatRestIT. test {yaml=indices.get_template/11_basic_with_types/Get template}
CompatRestIT. test {yaml=indices.put_mapping/20_mix_typeless_typeful/PUT mapping with _doc on an index that has types}
CompatRestIT. test {yaml=indices.put_mapping/20_mix_typeless_typeful/PUT mapping with typeless API on an index that has types}
#47364
#41676
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/REST API REST infrastructure and utilities Team:Core/Infra Meta label for core/infra team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants