ilm Rest cleanup. catch all IOExceptions
@@ -533,7 +533,7 @@ public abstract class ESRestTestCase extends ESTestCase {
try {
Response response = adminClient().performRequest(new Request("GET", "/_ilm/policy"));
policies = entityAsMap(response);
- } catch (ResponseException e) {
+ } catch (IOException e) {
// If bad request returned, ILM is not enabled.
return;
}
