Fix cluster usage docs test

#27611 broke the docs tests because $node_name in the URL doesn't (#27616)seem to be replaced.

Changing this to a * to match all nodes seems to fix the test
This commit is contained in:
Clinton Gormley 2017-12-01 16:54:30 +01:00 committed by Christoph Büscher
parent 623d3700f0
commit e1aa6e2cda
1 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ GET _nodes/nodeId1,nodeId2/usage
--------------------------------------------------
// CONSOLE
// TEST[setup:node]
// TEST[s/nodeId1,nodeId2/\$node_name/]
// TEST[s/nodeId1,nodeId2/*/]
The first command retrieves usage of all the nodes in the cluster. The
second command selectively retrieves nodes usage of only `nodeId1` and
@ -25,8 +25,8 @@ second command selectively retrieves nodes usage of only `nodeId1` and
[[rest-usage]]
==== REST actions usage information
The `rest_actions` field in the response contains a map of the REST
actions classname with a count of the number of times that action has
The `rest_actions` field in the response contains a map of the REST
actions classname with a count of the number of times that action has
been called on the node:
[source,js]
@ -59,6 +59,6 @@ been called on the node:
// TESTRESPONSE[s/1492553906606/$body.$_path/]
// TESTRESPONSE[s/"rest_actions": [^}]+}/"rest_actions": $body.$_path/]
<1> Timestamp for when this nodes usage request was performed.
<2> Timestamp for when the usage information recording was started. This is
<2> Timestamp for when the usage information recording was started. This is
equivalent to the time that the node was started.
<3> Search action has been called 19 times for this node.