lttng: Fix ControlViewTest
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.control.ui.swtbot.tests / src / org / eclipse / tracecompass / lttng2 / control / ui / swtbot / tests / ControlViewTest.java
index f5c6aefe821a4e5db1cdd6264e7819c4fba8039b..26b7243f2cc27fa32bf9f1b58cc407ebcbc3a6e0 100644 (file)
@@ -241,12 +241,13 @@ public class ControlViewTest {
         nodeItem.select();
         SWTBotMenu menuBot = nodeItem.contextMenu(ControlViewSwtBotUtil.CONNECT_MENU_ITEM);
         menuBot.click();
-        WaitUtils.waitForJobs();
 
         fBot.waitUntil(ConditionHelpers.IsTreeChildNodeAvailable(ControlViewSwtBotUtil.SESSION_GROUP_NAME, nodeItem));
 
         // Verify that node is connected
         fBot.waitUntil(ControlViewSwtBotUtil.isStateChanged(fNode, TargetNodeState.CONNECTED));
+        // Wait for node configuration jobs
+        WaitUtils.waitForJobs();
         assertEquals(TargetNodeState.CONNECTED, fNode.getTargetNodeState());
     }
 
This page took 0.025685 seconds and 5 git commands to generate.