OK. Last post but just in case somebody hits this in the future. I have a simple unit test (below) that fails about 50% of the time... However it doesn't fail in 2.5-rc1 so as it is so obscure anyway I won't raise a issue.
package com.google.gwt.sample.dynatablerf.client;
import com.google.gwt.junit.client.GWTTestCase;
import com.google.gwt.user.client.Timer;
public class GwtTestStall extends GWTTestCase {
@Override
public String getModuleName() {
return "com.google.gwt.sample.dynatablerf.DynaTableRf";
}
public void testStall() {
this.delayTestFinish(2 *60 * 1000);
Timer slowJob = new Timer() {
@Override
public void run() {
System.out.println("Slow job: done");
}
};
System.out.println("Slow job: start");
slowJob.schedule(3000);
Timer repeatingJob = new Timer() {
int done;
@Override
public void run() {
System.out.println("timer " + done);
if (done < 100) {
done++;
schedule(100);
} else {
System.out.println("Repeating job: done");
finishTest();
}
}
};
System.out.println("Repeating job: start");
repeatingJob.schedule(1000);
}
}