openinx commented on a change in pull request #10637: [FLINK-15319][e2e]
flink-end-to-end-tests-common-kafka fails due to t…
URL: https://github.com/apache/flink/pull/10637#discussion_r363143934
##########
File path:
flink-end-to-end-tests/flink-end-to-end-tests-common/src/main/java/org/apache/flink/tests/util/AutoClosableProcess.java
##########
@@ -115,6 +115,22 @@ public void runBlocking(final Duration timeout) throws
IOException {
}
}
+ public void runBlockingWithRetry(final int maxRetries, final
Duration timeoutOfTry) throws IOException {
+ int retries = 0;
+ while (true) {
+ try {
+ runBlocking(timeoutOfTry);
+ break;
+ } catch (Throwable e) {
Review comment:
OK
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services