Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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