commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Akolkar" <>
Subject Re: [io] Re: [nightly build] io failed.
Date Mon, 14 Aug 2006 22:22:24 GMT
On 8/11/06, Henri Yandell <> wrote:
> > On 11 Aug 2006 13:10:48 -0000, <> wrote:
> > > Failed build logs:
> > >
> Brain dumping in case anyone else is looking at this too.
> This error is in the isNewer test.
> It creates a file, pauses for a second, creates another file, pauses
> for another second and then creates another file. I suspect the bug is
> that pausing for a second still ends up with a file with the same
> timestamp for some reason or other. Easiest fix would be to pause for
> a little longer than a second I suspect. It doesn't always happen.
> The same spin method is used here to pause for a second. It looks like
> it's overkill implementation wise; I thought you could trust
> Thread.sleep(n) to pause for at least n milliseconds - unless an
> InterruptedException happens (which in this case will fail the test).
> Bumping up to 2000 surprisingly still saw errors happening. I also
> don't get why the FileUtilsTestCase one is seen more often than the
> FileFilter one.

Thats a troublemaker. Seems to be some timing subtlety on the
nightlies box that escapes me (being the original author of that


> Hen

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message