Skip to content

Commit 3e80a67

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 c4cc3d5 commit 3e80a67

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

0 commit comments

Comments
 (0)