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.17] [ML] Functional tests - refactor response code checks (#127875) #128046

Merged
merged 1 commit into from
Mar 18, 2022

Conversation

pheyos
Copy link
Member

@pheyos pheyos commented Mar 18, 2022

Backport

This is an automatic backport to 7.17 of:

Questions ?

Please refer to the Backport tool documentation

This PR refactors the way how we assert response codes from API requests in our functional tests.

(cherry picked from commit f4c4fd6)

# Conflicts:
#	x-pack/test/api_integration/apis/ml/anomaly_detectors/forecast_with_spaces.ts
#	x-pack/test/api_integration/apis/ml/data_frame_analytics/get.ts
#	x-pack/test/api_integration/apis/ml/data_frame_analytics/jobs_exist_spaces.ts
#	x-pack/test/api_integration/apis/ml/data_frame_analytics/new_job_caps.ts
#	x-pack/test/api_integration/apis/ml/datafeeds/update.ts
#	x-pack/test/api_integration/apis/ml/results/get_category_definition.ts
#	x-pack/test/api_integration/apis/ml/results/get_category_examples.ts
#	x-pack/test/api_integration/apis/transform/reset_transforms.ts
#	x-pack/test/functional/services/ml/api.ts
#	x-pack/test/functional/services/ml/test_resources.ts
@pheyos pheyos enabled auto-merge (squash) March 18, 2022 08:27
@pheyos pheyos merged commit 3197085 into elastic:7.17 Mar 18, 2022
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@pheyos pheyos deleted the backport/7.17/pr-127875 branch June 21, 2022 08:02
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.

2 participants