Timing problem in Eclipse

Posted by Mike Haller on Friday, March 23. 2007 at 00:00 in Java

Is this a timing problem in Eclipse, in JUnit4 or in Java 6 (Mustang) ?

See the test, which is assumed to fail after approx 5seconds. In reality, you have to wait twice the time - 10 seconds - for it to fail. Why?


Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications
 
Submitted comments will be subject to moderation before being displayed.
 

About

My name is Mike Haller and I'm a software developer and architect at Bosch Software Innovations in Germany. I love programming, playing games and reading books. I like good food, making photos and learning and mentoring about the craftsmanship of commercial software development. Stack Overflow profile for mhaller

Quicksearch