Skip to content

[Backport 7.6] Ability to only run one test section in file in yaml test runner #4420

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

Merged
merged 1 commit into from
Feb 21, 2020

Conversation

github-actions[bot]
Copy link
Contributor

Backport a8ac347 from #4404

You can now pass -s "Test section name" to the rest-api-spec test runner
to only run a single test inside a file. Before you could only filter to
a file as whole.

This also makes sure args with spaces are quoted when passing down from
our build tooling (super rudimentary)

We now emit Skip messages during the run so we can see the test itself
skipped. Because in our current flow we run the test setup before
evaluating the `skip` block its hard to see nothing happened because
things are happening (setup requests)

Lastly the proxy detection now includes `xpack` test suite.

`mitmproxy -k` will work if we reroute https traffic to it.
@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@Mpdreamz Mpdreamz merged commit bc0b523 into 7.6 Feb 21, 2020
@Mpdreamz Mpdreamz deleted the backport-4404-to-7.6 branch February 21, 2020 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants