Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change waiting mechanism ProcessConsoleTests.processTerminationTest e…
…clipse-platform#548 Use "waitWhile" instead of "TestUtil.waitForJobs". The reason for this is that "waitForJobs" might be too fast and it might happen before DebugPlugin.fEventDispatchJob is even scheduled (the scheduling happens in another thread). If that happens then the "fEventDispatchJob" never even reaches the queue of the JobManager before "waitForJobs" is called and the test "ProcessConsoleTests.testProcessTerminationNotificationWithInputFile" fails. Also replace some hard-coded strings with the name of the current test method (nitpicking).
- Loading branch information