Max Rydahl Andersen wrote:
Is that something we can workaround or does it require a rebuild of
eclipse ?
/max
> Hi,
>
> I believe that I fixed the Eclipse crash that happens while executing
> JUnit tests on Linux.
> The fix is described in
>
https://bugs.eclipse.org/bugs/show_bug.cgi?id=207206#c8.
> I have tested our Junit tests and the test case described in the bug.
>
> Snjeza
>
>
>
I have trying to find workaround for JUnit tests failing and looks like
problem is in method display.readAndDispatch()
which called in TestUtil.delay(long waitTimeMillis);
I have trying to remove this code from method and eclipse doesn't
crashes anymore.
Here original code:
/ while (System.currentTimeMillis() < endTimeMillis) {
if (!display.readAndDispatch())
display.sleep();
}/
With this code VPE tests works under linux.x86_32:
/ while (System.currentTimeMillis() < endTimeMillis) {
// if (!display.readAndDispatch()) here we can apply
filter which will be restrict this code only linux
display.sleep();
}
/