Skip to content

Commit

Permalink
change log level to error (#339) (#340)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4039bf7)

Signed-off-by: zane-neo <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 2796207 commit df6bafd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ protected Map<String, Object> waitResponseMeetingCondition(
if (condition.test(responseInMap)) {
return responseInMap;
}
logger.info("The " + i + "-th response: " + responseInMap.toString());
logger.error(String.format(Locale.ROOT, "The %s-th response: %s", i, responseInMap.toString()));
Thread.sleep(DEFAULT_TASK_RESULT_QUERY_INTERVAL_IN_MILLISECOND);
}
fail("The response failed to meet condition after " + MAX_TASK_RESULT_QUERY_TIME_IN_SECOND + " seconds.");
Expand Down

0 comments on commit df6bafd

Please sign in to comment.