-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
[Rest Api Compatibility] Enable tests after types and cat api fixed #75179
Changes from all commits
d89a22c
2a01ee6
eb64b37
3fbed8d
ce21917
94151eb
5358809
e14c6a4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,9 +23,6 @@ testClusters.all { | |
extraConfigFile 'ingest-user-agent/test-regexes.yml', file('src/test/test-regexes.yml') | ||
} | ||
|
||
tasks.named("yamlRestCompatTest").configure { | ||
systemProperty 'tests.rest.blacklist', [ | ||
'ingest-useragent/30_custom_regex/Test user agent processor with custom regex file', | ||
'ingest-useragent/20_useragent_processor/Test user agent processor with parameters' | ||
].join(',') | ||
} | ||
tasks.named("transformV7RestTests").configure({ task -> | ||
task.addAllowedWarningRegex("setting \\[ecs\\] is deprecated as ECS format is the default and only option") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. a deprecation added in 8.0, maybe we should use onOrAfter(v8) for this? https://github.com/elastic/elasticsearch/blob/master/modules/ingest-user-agent/src/main/java/org/elasticsearch/ingest/useragent/UserAgentProcessor.java#L196 |
||
}) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,36 +71,40 @@ def v7compatibilityNotSupportedTests = { | |
'indices.stats/20_translog/Translog stats on closed indices without soft-deletes', | ||
|
||
// upgrade api will only get a dummy endpoint returning an exception suggesting to use _reindex | ||
'indices.upgrade/*/*' | ||
'indices.upgrade/*/*', | ||
|
||
'search.aggregation/20_terms/*profiler*', // The profiler results aren't backwards compatible. | ||
'search.aggregation/370_doc_count_field/Test filters agg with doc_count', // Uses profiler for assertions which is not backwards compatible | ||
|
||
'indices.create/10_basic/Create index without soft deletes', //Make soft-deletes mandatory in 8.0 #51122 - settings changes are note supported in Rest Api compatibility | ||
|
||
|
||
'field_caps/30_filter/Field caps with index filter', //behaviour change after #63692 4digits dates are parsed as epoch and in quotes as year | ||
] | ||
} | ||
tasks.named("yamlRestCompatTest").configure { | ||
onlyIf { | ||
// Skip these tests on Windows since the blacklist exceeds Windows CLI limits | ||
OS.current() != OS.WINDOWS | ||
} | ||
|
||
systemProperty 'tests.rest.blacklist', ([ | ||
'cluster.voting_config_exclusions/10_basic/Throw exception when adding voting config exclusion and specifying both node_ids and node_names', | ||
'cluster.voting_config_exclusions/10_basic/Throw exception when adding voting config exclusion without specifying nodes', | ||
'field_caps/30_filter/Field caps with index filter', | ||
'indices.create/10_basic/Create index without soft deletes', | ||
'indices.flush/10_basic/Index synced flush rest test', | ||
'indices.forcemerge/10_basic/Check deprecation warning when incompatible only_expunge_deletes and max_num_segments values are both set', | ||
'indices.open/10_basic/?wait_for_active_shards default is deprecated', | ||
'indices.open/10_basic/?wait_for_active_shards=index-setting', | ||
// not fixing this in #70966 | ||
'indices.put_template/11_basic_with_types/Put template with empty mappings', | ||
'search.aggregation/200_top_hits_metric/top_hits aggregation with sequence numbers', | ||
'search.aggregation/20_terms/*profiler*', // The profiler results aren't backwards compatible. | ||
'search.aggregation/51_filter_with_types/Filter aggs with terms lookup and ensure it\'s cached', | ||
'search.aggregation/370_doc_count_field/Test filters agg with doc_count', // Uses profiler for assertions which is not backwards compatible | ||
'search/150_rewrite_on_coordinator/Ensure that we fetch the document only once', //terms_lookup | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. already fixed, added back here by mistake due to merge conflict |
||
'search/260_parameter_validation/test size=-1 is deprecated', //size=-1 change | ||
'search/310_match_bool_prefix/multi_match multiple fields with cutoff_frequency throws exception', //cutoff_frequency | ||
'search/340_type_query/type query', // type_query - probably should behave like match_all | ||
] + v7compatibilityNotSupportedTests()) | ||
] + v7compatibilityNotSupportedTests()) | ||
.join(',') | ||
|
||
} | ||
|
||
tasks.named("transformV7RestTests").configure({ task -> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is more tests that could be fixed by having #42654 available under compatible api.
@jimczi this item is marked as
not_sure
. Do you have any views on implementing compatible api for it?