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

[Rest Api Compatibility] Enable tests after types and cat api fixed #75179

Merged

Conversation

pgomulka
Copy link
Contributor

@pgomulka pgomulka commented Jul 9, 2021

Some tests are fixed after typed api is available with compatible api.
Also cat api returning text fixed some tests
relates #51816

Some tests are fixed after typed api is available with compatible api.
Also cat api returning text fixed some tests
].join(',')
}
tasks.named("transformV7RestTests").configure({ task ->
task.addAllowedWarningRegex("setting \\[ecs\\] is deprecated as ECS format is the default and only option")
Copy link
Contributor Author

@pgomulka pgomulka Jul 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'analysis-common/40_token_filters/delimited_payload_filter_error',
'analysis-common/20_analyzers/standard_html_strip'
].join(',')
'search.query/50_queries_with_synonyms/Test common terms query with stacked tokens', // #42654 - not sure, remove `common` query
Copy link
Contributor Author

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?

'mtermvectors/11_basic_with_types/Basic tests for multi termvector get',
'mtermvectors/21_deprecated_with_types/Deprecated camel case and _ parameters should fail in Term Vectors query',
'mtermvectors/30_mix_typeless_typeful/mtermvectors without types on an index that has types',
'search/150_rewrite_on_coordinator/Ensure that we fetch the document only once', //terms_lookup
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

already fixed, added back here by mistake due to merge conflict

@pgomulka pgomulka marked this pull request as ready for review July 9, 2021 13:39
Copy link
Contributor

@jakelandis jakelandis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Once all of the tests we expect to pass we should remove the "v7compatibilityNotSupportedTests" array since it will be redundant.

@pgomulka pgomulka merged commit 71e0583 into elastic:master Jul 14, 2021
masseyke pushed a commit to masseyke/elasticsearch that referenced this pull request Jul 16, 2021
…lastic#75179)

Some tests are fixed after typed api is available with compatible api.
Also cat api returning text fixed some tests
relates elastic#51816
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants