Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Piech2012-05-29 21:16:30 +0000
committerEugene Tarassov2012-05-30 03:05:19 +0000
commit328628136b6ad75307c77863ab1d05e93aa48d84 (patch)
tree0ebc07a6957f1af3b0df8ffa72a9e46ed4353640
parent6bf5d2bf3de1bb82ad2e386fe77bb78738532420 (diff)
downloadorg.eclipse.tcf-328628136b6ad75307c77863ab1d05e93aa48d84.tar.gz
org.eclipse.tcf-328628136b6ad75307c77863ab1d05e93aa48d84.tar.xz
org.eclipse.tcf-328628136b6ad75307c77863ab1d05e93aa48d84.zip
Bug 380607 - [tests] Intermittent failure in SampleTest.testSteppingDebugViewOnly
-rw-r--r--tests/plugins/org.eclipse.tcf.debug.test/src/org/eclipse/tcf/debug/test/AbstractTcfUITest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/plugins/org.eclipse.tcf.debug.test/src/org/eclipse/tcf/debug/test/AbstractTcfUITest.java b/tests/plugins/org.eclipse.tcf.debug.test/src/org/eclipse/tcf/debug/test/AbstractTcfUITest.java
index d09d15241..8bbcfae55 100644
--- a/tests/plugins/org.eclipse.tcf.debug.test/src/org/eclipse/tcf/debug/test/AbstractTcfUITest.java
+++ b/tests/plugins/org.eclipse.tcf.debug.test/src/org/eclipse/tcf/debug/test/AbstractTcfUITest.java
@@ -628,6 +628,12 @@ public abstract class AbstractTcfUITest extends TcfTestCase implements IViewerUp
fDebugViewListener.addLabelUpdate(new TreePath(new Object[] { fLaunch, processTCFContext, threadTCFContext }));
startProcess();
+
+ // Make sure that delta is posted after launching process so that it doesn't interfere
+ // with the waiting for the whole viewer to update after breakpoint hit (below).
+ fDebugViewListener.waitTillFinished(MODEL_CHANGED_COMPLETE);
+ fDebugViewListener.resetModelChanged();
+
runToTestEntry(testFunc);
removeBreakpoint(bpId);

Back to the top