Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2010-05-15 16:27:30 -0400
committereutarass2010-05-15 16:27:30 -0400
commit5fe9b1678f7b663ad0ecfea337f84af841878081 (patch)
tree4bc60d23e59a4f1896df9e955a6e64221de07886 /plugins
parentf5024da3e3801ec6487ff486a1bd518ca07ce9db (diff)
downloadorg.eclipse.tcf-5fe9b1678f7b663ad0ecfea337f84af841878081.tar.gz
org.eclipse.tcf-5fe9b1678f7b663ad0ecfea337f84af841878081.tar.xz
org.eclipse.tcf-5fe9b1678f7b663ad0ecfea337f84af841878081.zip
TCF Debugger: fixed: diagnostic tests fail to report an error when one out of four socket connections was refused
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TCFTestSuite.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TCFTestSuite.java b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TCFTestSuite.java
index 21fb3b639..1b6bf0c78 100644
--- a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TCFTestSuite.java
+++ b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TCFTestSuite.java
@@ -195,7 +195,7 @@ public class TCFTestSuite {
}
}
if (channels[i] == null) continue;
- if (active_tests.isEmpty() && pending_tests.isEmpty() &&
+ if ((error != null || active_tests.isEmpty() && pending_tests.isEmpty()) &&
channels[i].getState() != IChannel.STATE_CLOSED) channels[i].close();
cnt++;
}

Back to the top