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

Updates to TESTING.asciidoc for REST testing #52862

Merged
merged 1 commit into from Feb 27, 2020

Conversation

jakelandis
Copy link
Contributor

@jakelandis jakelandis commented Feb 27, 2020

Update documentation for:

@jakelandis jakelandis added >docs General docs changes :Delivery/Build Build or test infrastructure v8.0.0 v7.7.0 v7.6.1 labels Feb 27, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Build)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs (>docs)

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM

@ywelsch ywelsch added v7.6.2 and removed v7.6.1 labels Feb 27, 2020
Copy link
Contributor

@mark-vieira mark-vieira left a comment

Choose a reason for hiding this comment

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

One question. Otherwise LGTM.

---------------------------------------------------------------------------
restResources {
restApi {
includeCore '_common', 'indices', 'index', 'cluster', 'nodes', 'get', 'ingest'
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the underscore prefix to "common" required?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah it's required to match the pattern

This will result in a pattern match of _common*/**. The file we are matching is _common.json. The api's don't use use folders, so we could change the pattern match to be *common*.json, however the tests do use folders so those would need to stay <prefix>*/** (or the like). I figured a simple prefix match for both would be simplest to reason about, but am open to change (in a different PR)

@jakelandis jakelandis merged commit 2d85e41 into elastic:master Feb 27, 2020
@jakelandis jakelandis deleted the update_rest_test_doc branch February 27, 2020 17:08
jakelandis added a commit to jakelandis/elasticsearch that referenced this pull request Feb 27, 2020
Update documentation for:
* restResources config (related elastic#52114)
* call out YAML vs. Java based Rest tests
* update example to use newer syntax 
* update example to target a test that is not skipped 
* provide example for bwcRest test (related elastic#52383)
jakelandis added a commit to jakelandis/elasticsearch that referenced this pull request Feb 27, 2020
Update documentation for:
* restResources config (related elastic#52114)
* call out YAML vs. Java based Rest tests
* update example to use newer syntax 
* update example to target a test that is not skipped 
* provide example for bwcRest test (related elastic#52383)
jakelandis added a commit that referenced this pull request Feb 27, 2020
Update documentation for:
* restResources config (related #52114)
* call out YAML vs. Java based Rest tests
* update example to use newer syntax 
* update example to target a test that is not skipped 
* provide example for bwcRest test (related #52383)
jakelandis added a commit that referenced this pull request Feb 27, 2020
Update documentation for:
* restResources config (related #52114)
* call out YAML vs. Java based Rest tests
* update example to use newer syntax 
* update example to target a test that is not skipped 
* provide example for bwcRest test (related #52383)
@ywelsch
Copy link
Contributor

ywelsch commented Mar 2, 2020

I've removed the backport pending label as this looks to have been merged into 7.6

@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure >docs General docs changes Team:Delivery Meta label for Delivery team v7.6.1 v7.7.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants