Skip to content

Commit 76ce0ac

Browse files
committed
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 6cbd6ed commit 76ce0ac

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
@@ -486,7 +486,6 @@ private void wipeRollupJobs() throws IOException, InterruptedException {
486486
try {
487487
Response jobsResponse = adminClient().performRequest(request);
488488
String body = EntityUtils.toString(jobsResponse.getEntity());
489-
logger.error(body);
490489
// If the body contains any of the non-stopped states, at least one job is not finished yet
491490
return Arrays.stream(new String[]{"started", "aborting", "stopping", "indexing"}).noneMatch(body::contains);
492491
} catch (IOException e) {

0 commit comments

Comments
 (0)