Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,19 @@
- is_true: nodes.plugins
- is_true: nodes.network_types

---
"cluster stats accepts timeout param":
- skip:
cluster_features: "gte_v8.16.0"
reason: "Suppress this test for merging & backporting https://github.com/elastic/elasticsearch/pull/113852"

- do:
cluster.stats:
timeout: 24h

- is_true: timestamp
- is_true: cluster_name

---
"cluster stats with human flag returns docs as human readable size":
- requires:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import java.util.Set;

import static org.elasticsearch.rest.RestRequest.Method.GET;
import static org.elasticsearch.rest.RestUtils.REST_TIMEOUT_PARAM;
import static org.elasticsearch.rest.RestUtils.getTimeout;

@ServerlessScope(Scope.INTERNAL)
Expand All @@ -46,7 +47,7 @@ public String getName() {

@Override
public Set<String> supportedQueryParameters() {
return Set.of("include_remotes", "nodeId");
return Set.of("include_remotes", "nodeId", REST_TIMEOUT_PARAM);
}

@Override
Expand Down