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

[7.x] Add support for regex in REST test warnings and allowed_warnings (#69501) #69754

Merged
merged 2 commits into from
Mar 2, 2021

Conversation

jakelandis
Copy link
Contributor

Backports the following commits to 7.x:

…stic#69501)

This commit adds support for two new REST test features.
warnings_regex and allowed_warnings_regex.

This is a near mirror of the warnings and allowed_warnings
warnings feature where the test can be instructed to allow
or require HTTP warnings. The difference with these new features
is that is allows the match to be based on a regular expression.
# Conflicts:
#	test/framework/src/main/java/org/elasticsearch/test/rest/yaml/Features.java
#	test/framework/src/test/java/org/elasticsearch/test/rest/yaml/section/DoSectionTests.java
@jakelandis jakelandis merged commit 53f8cd5 into elastic:7.x Mar 2, 2021
@jakelandis jakelandis deleted the backport/7.x/pr-69501 branch March 2, 2021 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant