mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
Don't use the junit timeout feature. It's too rigid and is a pain when troubleshooting issues.
This commit is contained in:
parent
cc65b918dc
commit
85162ebd30
1 changed files with 3 additions and 4 deletions
|
@ -2317,7 +2317,6 @@ public class MIExpressionsTest extends BaseTestCase {
|
||||||
* to make sure that the parent is re-created once and only once.
|
* to make sure that the parent is re-created once and only once.
|
||||||
* We had a bug where we would enter an infinite loop in this case.
|
* We had a bug where we would enter an infinite loop in this case.
|
||||||
*/
|
*/
|
||||||
@Test(timeout=5000)
|
|
||||||
public void testConcurrentUpdateOutOfScopeChildThenParent() throws Throwable {
|
public void testConcurrentUpdateOutOfScopeChildThenParent() throws Throwable {
|
||||||
SyncUtil.runToLocation("testConcurrentUpdateOutOfScopeChildThenParent");
|
SyncUtil.runToLocation("testConcurrentUpdateOutOfScopeChildThenParent");
|
||||||
MIStoppedEvent stoppedEvent = SyncUtil.step(2, StepType.STEP_INTO);
|
MIStoppedEvent stoppedEvent = SyncUtil.step(2, StepType.STEP_INTO);
|
||||||
|
@ -2368,7 +2367,7 @@ public class MIExpressionsTest extends BaseTestCase {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
wait.waitUntilDone(AsyncCompletionWaitor.WAIT_FOREVER);
|
wait.waitUntilDone(TestsPlugin.massageTimeout(5000));
|
||||||
assertTrue(wait.getMessage(), wait.isOK());
|
assertTrue(wait.getMessage(), wait.isOK());
|
||||||
wait.waitReset();
|
wait.waitReset();
|
||||||
|
|
||||||
|
@ -2400,7 +2399,7 @@ public class MIExpressionsTest extends BaseTestCase {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
wait.waitUntilDone(AsyncCompletionWaitor.WAIT_FOREVER);
|
wait.waitUntilDone(TestsPlugin.massageTimeout(5000));
|
||||||
assertTrue(wait.getMessage(), wait.isOK());
|
assertTrue(wait.getMessage(), wait.isOK());
|
||||||
wait.waitReset();
|
wait.waitReset();
|
||||||
|
|
||||||
|
@ -2448,7 +2447,7 @@ public class MIExpressionsTest extends BaseTestCase {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
wait.waitUntilDone(AsyncCompletionWaitor.WAIT_FOREVER);
|
wait.waitUntilDone(TestsPlugin.massageTimeout(5000));
|
||||||
assertTrue(wait.getMessage(), wait.isOK());
|
assertTrue(wait.getMessage(), wait.isOK());
|
||||||
wait.waitReset();
|
wait.waitReset();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue