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

Run code snippets in ReindexDocumentationIT #32093

Closed
cbuescher opened this issue Jul 16, 2018 · 1 comment
Closed

Run code snippets in ReindexDocumentationIT #32093

cbuescher opened this issue Jul 16, 2018 · 1 comment
Assignees
Labels
:Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. >docs General docs changes >enhancement help wanted adoptme >test Issues or PRs that are addressing/adding tests

Comments

@cbuescher
Copy link
Member

cbuescher commented Jul 16, 2018

Currently it seems we don't run any of the documentation code snippets in ReindexDocumentationIT.
Test methods don't start with the "test..." prefix, so we don't catch any errors in the documented code snippets other
than compile errors. I think the snippets should be run like in other code documentation tests. However this might
require some additional test setup code. Also I think the api responses require some basic assertions.
Otherwiew we miss errors like the one reported in #32010.

@cbuescher cbuescher added >enhancement >docs General docs changes >test Issues or PRs that are addressing/adding tests help wanted adoptme labels Jul 16, 2018
@cbuescher cbuescher added the :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. label Jul 16, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@vladimirdolzhenko vladimirdolzhenko self-assigned this Nov 1, 2018
vladimirdolzhenko pushed a commit to vladimirdolzhenko/elasticsearch that referenced this issue Nov 1, 2018
vladimirdolzhenko added a commit that referenced this issue Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. >docs General docs changes >enhancement help wanted adoptme >test Issues or PRs that are addressing/adding tests
Projects
None yet
Development

No branches or pull requests

3 participants