summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2013-01-15 12:56:55 (EST)
committerSteffen Pingel2013-01-15 12:56:55 (EST)
commitc5383881d67e82bf933bd7102e14f5e91a60a455 (patch)
tree6c0a71b79735892ea57f0893fa50a1b6ce715b67
parent0ea1e6962416ad45d3b12bac12236a496d0686ba (diff)
downloadorg.eclipse.mylyn.commons-c5383881d67e82bf933bd7102e14f5e91a60a455.zip
org.eclipse.mylyn.commons-c5383881d67e82bf933bd7102e14f5e91a60a455.tar.gz
org.eclipse.mylyn.commons-c5383881d67e82bf933bd7102e14f5e91a60a455.tar.bz2
398214: ManagedTestSuite should clear interrupted flag on timeoutrefs/changes/81/9681/1
Change-Id: I64fed2b7273262ce8d440871299d249c0860cd1c Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=398214
-rw-r--r--org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/ManagedTestSuite.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/ManagedTestSuite.java b/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/ManagedTestSuite.java
index 114b20d..542ce6d 100644
--- a/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/ManagedTestSuite.java
+++ b/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/ManagedTestSuite.java
@@ -114,6 +114,8 @@ public class ManagedTestSuite extends TestSuite {
if (task != null) {
task.cancel();
}
+ // clear flag in case timeout occurred
+ Thread.interrupted();
}
public void startTest(Test test) {