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.
This commit is contained in:
parent
a086c665a3
commit
02a342eb8c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue