lttng: Help stabilize some TimeGraphs tests
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests / src / org / eclipse / tracecompass / lttng2 / kernel / ui / swtbot / tests / ControlFlowViewTest.java
index 54799aa5bbcec200636dd64975d17b3df40e957f..ba9e4e7c25d17e069200d545053eb8817013ddb3 100644 (file)
@@ -243,7 +243,7 @@ public class ControlFlowViewTest extends KernelTestBase {
         /* change window range to 1 ms */
         TmfTimeRange range = new TmfTimeRange(START_TIME, START_TIME.normalize(1000000L, ITmfTimestamp.NANOSECOND_SCALE));
         TmfSignalManager.dispatchSignal(new TmfWindowRangeUpdatedSignal(this, range));
-        fBot.waitUntil(ConditionHelpers.windowRange(range));
+        timeGraphIsReadyCondition(new TmfTimeRange(START_TIME, START_TIME));
 
         SWTBotToolbarButton filterButton = fViewBot.toolbarButton("Show View Filters");
         filterButton.click();
This page took 0.030232 seconds and 5 git commands to generate.