Skip to content

Commit 3b320a3

Browse files
authored
handle interrupt during ARU retry (#351)
1 parent 1dfc345 commit 3b320a3

File tree

1 file changed

+2
-1
lines changed
  • imagetool/src/main/java/com/oracle/weblogic/imagetool/aru

1 file changed

+2
-1
lines changed

imagetool/src/main/java/com/oracle/weblogic/imagetool/aru/AruUtil.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,8 @@ private static Document retry(CallToRetry call) throws AruException, RetryFailed
502502
Thread.sleep(REST_INTERVAL);
503503
}
504504
} catch (InterruptedException wakeAndAbort) {
505-
break;
505+
logger.warning("Process interrupted!");
506+
Thread.currentThread().interrupt();
506507
}
507508
}
508509
// When all retries are exhausted, raise an ARU exception to exit the process (give up)

0 commit comments

Comments
 (0)