Friday, July 6, 2012

Scheduler and DeferredCommand stopping in unit tests

Has anybody else had cases where Scheduler and DeferredCommands have stopped being scheduled/run when used in unit tests?

We have a lot of async code so need to use them a lot but currently, seemingly at random, our tests stall until they get timed out. Even setting up a periodic job that is never meant to stop will fail at the same time/point as our normal jobs.

Lot of code going on with junit/GWTTestCase/htmlunit/jetty/requestfactory/database... and because it is hard to reproduce it is proving tough to fix.

Many thanks

Sam

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/j9hs7vtYdEkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment