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

[ML] Removed key value from the catch regex test #50977

Merged
merged 1 commit into from
Jan 15, 2020

Conversation

delvedor
Copy link
Member

Hello folks!
In some tests, where we are using a regex to catch an error, we are also checking the key value, but the test assumes that the body is serialized as yaml while other clients test it as json.
This pr removes the reason= part fo the regex, as it's not important to verify the key value as well, because this message will be present only in that part of the json.

@dimitris-athanasiou dimitris-athanasiou added :ml Machine learning >test Issues or PRs that are addressing/adding tests v8.0.0 labels Jan 14, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

Copy link
Contributor

@dimitris-athanasiou dimitris-athanasiou left a comment

Choose a reason for hiding this comment

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

LGTM

@dimitris-athanasiou dimitris-athanasiou changed the title Removed key value from the catch regex test [ML] Removed key value from the catch regex test Jan 14, 2020
@delvedor delvedor merged commit be846cc into elastic:master Jan 15, 2020
@delvedor delvedor deleted the update-catch-yaml-spec branch January 15, 2020 06:44
delvedor added a commit to delvedor/elasticsearch that referenced this pull request Jan 15, 2020
delvedor added a commit to elastic/elasticsearch-js that referenced this pull request Jan 15, 2020
- With elastic/elasticsearch#50977 this skips are no longer valid
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this pull request Jan 23, 2020
@Mpdreamz
Copy link
Member

cc @elastic/es-clients

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:ml Machine learning >test Issues or PRs that are addressing/adding tests v7.6.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants