This is an automated email from the ASF dual-hosted git repository.

dulvac pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-clients.git


The following commit(s) were added to refs/heads/master by this push:
     new 51c68b8  Re-throw InterruptedException in Polling
51c68b8 is described below

commit 51c68b8bbb8074349fe5e51c66fc8766e3bb70f1
Author: Valentin Olteanu <[email protected]>
AuthorDate: Tue Dec 4 14:13:56 2018 +0100

    Re-throw InterruptedException in Polling
---
 src/main/java/org/apache/sling/testing/clients/util/poller/Polling.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/src/main/java/org/apache/sling/testing/clients/util/poller/Polling.java 
b/src/main/java/org/apache/sling/testing/clients/util/poller/Polling.java
index f08deeb..60296de 100644
--- a/src/main/java/org/apache/sling/testing/clients/util/poller/Polling.java
+++ b/src/main/java/org/apache/sling/testing/clients/util/poller/Polling.java
@@ -115,6 +115,8 @@ public class Polling implements Callable<Boolean> {
                     waited = System.currentTimeMillis() - start;
                     return;
                 }
+            } catch (InterruptedException e) {
+                throw e; // Never inhibit InterruptedException
             } catch (Exception e) {
                 lastException = e;
             }

Reply via email to