Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Sandonato2014-07-29 21:04:07 +0000
committerNick Sandonato2014-07-29 21:04:07 +0000
commit144375a8fa43eef790c1d20d2aa22ba1172e9670 (patch)
tree97a689330eaadd986aeec5f0cfca58b02293abc3
parent9a30bc5055aae29c8fc30d0dbf1da2b2b45e8df1 (diff)
downloadwebtools.sourceediting.tests-144375a8fa43eef790c1d20d2aa22ba1172e9670.tar.gz
webtools.sourceediting.tests-144375a8fa43eef790c1d20d2aa22ba1172e9670.tar.xz
webtools.sourceediting.tests-144375a8fa43eef790c1d20d2aa22ba1172e9670.zip
[440013] JUnit failures in CBI Build R3_6_Maintenance - get more information from test; only fails remotely
-rw-r--r--tests/org.eclipse.wst.sse.ui.tests/src/org/eclipse/wst/sse/ui/tests/TestStructuredTextEditor.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/org.eclipse.wst.sse.ui.tests/src/org/eclipse/wst/sse/ui/tests/TestStructuredTextEditor.java b/tests/org.eclipse.wst.sse.ui.tests/src/org/eclipse/wst/sse/ui/tests/TestStructuredTextEditor.java
index 8acac1ace..94f767970 100644
--- a/tests/org.eclipse.wst.sse.ui.tests/src/org/eclipse/wst/sse/ui/tests/TestStructuredTextEditor.java
+++ b/tests/org.eclipse.wst.sse.ui.tests/src/org/eclipse/wst/sse/ui/tests/TestStructuredTextEditor.java
@@ -315,6 +315,9 @@ public class TestStructuredTextEditor extends TestCase {
openedEditor.getSite().getShell().getDisplay().readAndDispatch();
}
assertTrue("Test timed out", runtime - startTime < timeout);
+ if (jobException[0] != null) {
+ throw jobException[0];
+ }
assertNull("There was an exception while making changes: " + (jobException[0] != null ? jobException[0].getMessage() : ""), jobException[0]);
int finalLength = document.getLength();
textFileBuffer.commit(new NullProgressMonitor(), true);

Back to the top