From d467be300ed8d48d189a29b7d59931a5e048892e Mon Sep 17 00:00:00 2001 From: Nhat Nguyen Date: Wed, 20 Jun 2018 20:36:37 -0400 Subject: [PATCH] Docs: Add ccr to the cat thread pool doc test (#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 --- docs/reference/cat/thread_pool.asciidoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/reference/cat/thread_pool.asciidoc b/docs/reference/cat/thread_pool.asciidoc index 9528b7829e37f..eab74f1f9f0d2 100644 --- a/docs/reference/cat/thread_pool.asciidoc +++ b/docs/reference/cat/thread_pool.asciidoc @@ -15,13 +15,14 @@ Which looks like: [source,txt] -------------------------------------------------- node-0 analyze 0 0 0 +... node-0 fetch_shard_started 0 0 0 node-0 fetch_shard_store 0 0 0 node-0 flush 0 0 0 ... node-0 write 0 0 0 -------------------------------------------------- -// TESTRESPONSE[s/\.\.\./(node-0 .+ 0 0 0\n)+/] +// TESTRESPONSE[s/\.\.\./(node-0 \\S+ 0 0 0\n)+/] // TESTRESPONSE[s/\d+/\\d+/ _cat] // The substitutions do two things: // 1. Expect any number of extra thread pools. This allows us to only list a @@ -45,6 +46,7 @@ The second column is the thread pool name -------------------------------------------------- name analyze +ccr (default distro only) fetch_shard_started fetch_shard_store flush @@ -81,6 +83,7 @@ active queue rejected 0 0 0 0 0 0 0 0 0 + 0 0 0 1 0 0 0 0 0 0 0 0