-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Docs: Add ccr to the cat thread pool doc test #31442
Conversation
Since elastic#31251, we use the default distribution to test docs. With this distribution, the cat thread-pool response will include the ccr thread-pool. This commit adjusts /_cat/thread_pool doc to include ccr. Relates elastic#31251
Pinging @elastic/es-distributed |
Pinging @elastic/es-docs |
The failed test is the one that I changed.
The regex becomes longer, but I am not sure if it's the cause of the timeout. |
@elasticmachine test this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I think the test was timeout because of the presence of the two |
Thanks @bleskes and @martijnvg for reviewing |
The fix proposed in elastic#31442 fails with the oss distro because the added 3dots does not match anything with the default oss while a 3dots expression requires matching at least one thread pool. This change adjusts the thread pool list so that it can match both the oss (without ccr) and default distro (with ccr).
The fix proposed in #31442 fails with the oss distro because the added 3dots does not match anything with the default oss while a 3dots expression requires matching at least one thread pool. This change makes an ellipsis optional so the thread_pool list can match both the oss distro (without ccr) and default distro (with ccr). Relates #31442
The fix proposed in #31442 fails with the oss distro because the added 3dots does not match anything with the default oss while a 3dots expression requires matching at least one thread pool. This change makes an ellipsis optional so the thread_pool list can match both the oss distro (without ccr) and default distro (with ccr). Relates #31442
Since #31251, we use the default distribution to test docs. With this
distribution, the cat thread-pool response will include the ccr
thread-pool. This commit adjusts
/_cat/thread_pool
doc to include ccr.Relates #31251