mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
* Revert "Allow deprecation warning for the return_200_for_cluster_health_timeout parameter (#80178) (#80445)" This reverts commit5a5300753d
. * Revert "[7.x] Use query param instead of a system property for opting in for new cluster health response code (#79397) (#79435)" This reverts commitd8c14281
* Revert "[7.x] Deprecate returning 408 for a server timeout on `_cluster/health` (#78180) (#78940)" This reverts commit03bd55d1
This commit is contained in:
parent
19fb52f98c
commit
47da0dca20
16 changed files with 27 additions and 169 deletions
|
@ -338,11 +338,6 @@ public class ClusterClientIT extends ESRestHighLevelClientTestCase {
|
|||
assertThat(response.status(), equalTo(RestStatus.REQUEST_TIMEOUT));
|
||||
assertThat(response.getStatus(), equalTo(ClusterHealthStatus.RED));
|
||||
assertNoIndices(response);
|
||||
assertWarnings(
|
||||
"The HTTP status code for a cluster health timeout will be changed from 408 to 200 in a "
|
||||
+ "future version. Set the [return_200_for_cluster_health_timeout] query parameter to [true] to suppress this message and "
|
||||
+ "opt in to the future behaviour now."
|
||||
);
|
||||
}
|
||||
|
||||
public void testRemoteInfo() throws Exception {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue