Skip to content

Commit 02a342e

Browse files
authored
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.
1 parent a086c66 commit 02a342e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,6 @@ private void wipeRollupJobs() throws IOException, InterruptedException {
487487
try {
488488
Response jobsResponse = adminClient().performRequest(request);
489489
String body = EntityUtils.toString(jobsResponse.getEntity());
490-
logger.error(body);
491490
// If the body contains any of the non-stopped states, at least one job is not finished yet
492491
return Arrays.stream(new String[]{"started", "aborting", "stopping", "indexing"}).noneMatch(body::contains);
493492
} catch (IOException e) {

0 commit comments

Comments
 (0)