diff options
author | Pawel Piech | 2012-05-29 21:16:30 +0000 |
---|---|---|
committer | Eugene Tarassov | 2012-05-30 03:05:19 +0000 |
commit | 328628136b6ad75307c77863ab1d05e93aa48d84 (patch) | |
tree | 0ebc07a6957f1af3b0df8ffa72a9e46ed4353640 /tests | |
parent | 6bf5d2bf3de1bb82ad2e386fe77bb78738532420 (diff) | |
download | org.eclipse.tcf-328628136b6ad75307c77863ab1d05e93aa48d84.tar.gz org.eclipse.tcf-328628136b6ad75307c77863ab1d05e93aa48d84.tar.xz org.eclipse.tcf-328628136b6ad75307c77863ab1d05e93aa48d84.zip |
Bug 380607 - [tests] Intermittent failure in SampleTest.testSteppingDebugViewOnly
Diffstat (limited to 'tests')
-rw-r--r-- | tests/plugins/org.eclipse.tcf.debug.test/src/org/eclipse/tcf/debug/test/AbstractTcfUITest.java | 6 |
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); |