mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Don't wait forever
This commit is contained in:
parent
81a56f94b8
commit
0eb1964dd6
1 changed files with 5 additions and 6 deletions
|
@ -119,12 +119,9 @@ public class GDBProcessesTest extends BaseTestCase {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
/*
|
/*
|
||||||
* Wait for the operation to get over
|
* Wait for the operation to complete and validate success.
|
||||||
*/
|
|
||||||
fWait.waitUntilDone(AsyncCompletionWaitor.WAIT_FOREVER);
|
|
||||||
/*
|
|
||||||
* Assert false if status is not OK
|
|
||||||
*/
|
*/
|
||||||
|
fWait.waitUntilDone(TestsPlugin.massageTimeout(2000));
|
||||||
Assert.assertTrue(fWait.getMessage(), fWait.isOK());
|
Assert.assertTrue(fWait.getMessage(), fWait.isOK());
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -161,7 +158,9 @@ public class GDBProcessesTest extends BaseTestCase {
|
||||||
fProcService.getExecutionData(threadDmc, rm);
|
fProcService.getExecutionData(threadDmc, rm);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
fWait.waitUntilDone(AsyncCompletionWaitor.WAIT_FOREVER);
|
|
||||||
|
// Wait for the operation to complete and validate success.
|
||||||
|
fWait.waitUntilDone(TestsPlugin.massageTimeout(2000));
|
||||||
assertTrue(fWait.getMessage(), fWait.isOK());
|
assertTrue(fWait.getMessage(), fWait.isOK());
|
||||||
|
|
||||||
IThreadDMData threadData = (IThreadDMData)fWait.getReturnInfo();
|
IThreadDMData threadData = (IThreadDMData)fWait.getReturnInfo();
|
||||||
|
|
Loading…
Add table
Reference in a new issue