QiuMM commented on a change in pull request #6406: ITTLSTest: Retry on
"Connection reset by peer".
URL: https://github.com/apache/incubator-druid/pull/6406#discussion_r221449532
##########
File path:
integration-tests/src/test/java/org/apache/druid/tests/security/ITTLSTest.java
##########
@@ -396,8 +396,9 @@ private void checkFailedAccess(
catch (RuntimeException re) {
Throwable rootCause = Throwables.getRootCause(re);
- if (rootCause instanceof IOException && "Broken
pipe".equals(rootCause.getMessage())) {
- if (retries > MAX_BROKEN_PIPE_RETRIES) {
+ if (rootCause instanceof IOException && ("Broken
pipe".equals(rootCause.getMessage())
+ || "Connection reset by
peer".contains(rootCause.getMessage()))) {
+ if (retries > MAX_CONNECTION_EXCEPTION_RETRIES) {
Assert.fail(StringUtils.format(
"Broken pipe retries exhausted, test failed, did not get %s.",
Review comment:
Broken pipe or connection reset retries exhausted.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]