From 02a342eb8c96290c46073bafb4f0e5759dad5b06 Mon Sep 17 00:00:00 2001 From: Igor Motov Date: Fri, 26 Oct 2018 14:23:10 -0400 Subject: [PATCH] Tests: remove possibly unnecessary rollup job logging (#34883) It seems that this statement is a debug leftover since it currently adds an error message `{"jobs":[]}` after each successful REST test. --- .../main/java/org/elasticsearch/test/rest/ESRestTestCase.java | 1 - 1 file changed, 1 deletion(-) diff --git a/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java b/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java index a540af459a1..f903536ece6 100644 --- a/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java +++ b/test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java @@ -487,7 +487,6 @@ public abstract class ESRestTestCase extends ESTestCase { try { Response jobsResponse = adminClient().performRequest(request); String body = EntityUtils.toString(jobsResponse.getEntity()); - logger.error(body); // If the body contains any of the non-stopped states, at least one job is not finished yet return Arrays.stream(new String[]{"started", "aborting", "stopping", "indexing"}).noneMatch(body::contains); } catch (IOException e) {