mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Don't wait forever
This commit is contained in:
parent
f699fcfdf3
commit
0874a4a973
1 changed files with 7 additions and 7 deletions
|
@ -391,7 +391,7 @@ public class MIBreakpointsTest extends BaseTestCase {
|
|||
});
|
||||
|
||||
// Wait for completion
|
||||
fWait.waitUntilDone(AsyncCompletionWaitor.WAIT_FOREVER);
|
||||
fWait.waitUntilDone(TestsPlugin.massageTimeout(2000));
|
||||
assertTrue(fWait.getMessage(), fWait.isOK());
|
||||
|
||||
// Return the string formatted by the back-end
|
||||
|
@ -436,7 +436,7 @@ public class MIBreakpointsTest extends BaseTestCase {
|
|||
});
|
||||
|
||||
// Wait for completion
|
||||
fWait.waitUntilDone(AsyncCompletionWaitor.WAIT_FOREVER);
|
||||
fWait.waitUntilDone(TestsPlugin.massageTimeout(2000));
|
||||
assertTrue(fWait.getMessage(), fWait.isOK());
|
||||
|
||||
// Return the string formatted by the back-end
|
||||
|
@ -478,7 +478,7 @@ public class MIBreakpointsTest extends BaseTestCase {
|
|||
});
|
||||
|
||||
// Wait for completion
|
||||
fWait.waitUntilDone(AsyncCompletionWaitor.WAIT_FOREVER);
|
||||
fWait.waitUntilDone(TestsPlugin.massageTimeout(2000));
|
||||
assertTrue(fWait.getMessage(), fWait.isOK());
|
||||
|
||||
// Return the string formatted by the back-end
|
||||
|
@ -521,7 +521,7 @@ public class MIBreakpointsTest extends BaseTestCase {
|
|||
});
|
||||
|
||||
// Wait for the result and return the breakpoint id
|
||||
fWait.waitUntilDone(AsyncCompletionWaitor.WAIT_FOREVER);
|
||||
fWait.waitUntilDone(TestsPlugin.massageTimeout(2000));
|
||||
return drm.getData();
|
||||
}
|
||||
|
||||
|
@ -560,7 +560,7 @@ public class MIBreakpointsTest extends BaseTestCase {
|
|||
});
|
||||
|
||||
// Wait for the result
|
||||
fWait.waitUntilDone(AsyncCompletionWaitor.WAIT_FOREVER);
|
||||
fWait.waitUntilDone(TestsPlugin.massageTimeout(2000));
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------------
|
||||
|
@ -599,7 +599,7 @@ public class MIBreakpointsTest extends BaseTestCase {
|
|||
});
|
||||
|
||||
// Wait for the result
|
||||
fWait.waitUntilDone(AsyncCompletionWaitor.WAIT_FOREVER);
|
||||
fWait.waitUntilDone(TestsPlugin.massageTimeout(2000));
|
||||
}
|
||||
|
||||
// ========================================================================
|
||||
|
@ -1685,7 +1685,7 @@ public class MIBreakpointsTest extends BaseTestCase {
|
|||
// Remove the selected breakpoint
|
||||
IBreakpointDMContext index = breakpoints[indices[i]];
|
||||
removeBreakpoint(index);
|
||||
fWait.waitUntilDone(AsyncCompletionWaitor.WAIT_FOREVER);
|
||||
fWait.waitUntilDone(TestsPlugin.massageTimeout(2000));
|
||||
assertTrue(fWait.getMessage(), fWait.isOK());
|
||||
breakpoints_left--;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue