commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (IO-196) Occasional FileSystemObserver test failures
Date Fri, 01 Oct 2010 01:38:32 GMT

     [ https://issues.apache.org/jira/browse/IO-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Niall Pemberton resolved IO-196.
--------------------------------

    Fix Version/s: 2.0
       Resolution: Fixed

Continuum doesn't have much historical data at the moment - the following shows all the builds
where FilesystemObserverTestCase ran and in which ones it failed:

{code}
 	Sep 29, 2010 10:20:31 PM UTC OK
 	Sep 29, 2010 09:20:31 PM UTC OK
 	Sep 29, 2010 08:20:39 PM UTC OK
 	Sep 29, 2010 07:20:28 PM UTC testFileDelete E[0 0 0 0 0 1]: No. of directories changed expected:<1>
but was:<0>
 	Sep 29, 2010 06:21:07 PM UTC OK
 	Sep 29, 2010 12:20:50 PM UTC OK
10	Sep 29, 2010 04:20:29 AM UTC OK
 	Sep 29, 2010 02:20:39 AM UTC testFileCreate F[0 0 0 1 0 0]: No. of directories changed expected:<1>
but was:<0>
9	Sep 29, 2010 01:20:44 AM UTC OK
8	Sep 29, 2010 12:34:15 AM UTC OK
7	Sep 28, 2010 11:20:36 PM UTC OK
 	Sep 28, 2010 10:33:14 PM UTC testFileCreate E[0 0 0 1 0 0]: No. of directories changed expected:<1>
but was:<0>
6	Sep 28, 2010 03:31:34 PM UTC OK
5	Sep 28, 2010 02:20:32 PM UTC OK
4	Sep 28, 2010 01:20:27 PM UTC OK
 	Sep 09, 2010 07:20:45 PM UTC testFileCreate E[0 0 0 1 0 0]: No. of directories changed expected:<1>
but was:<0>
3	Sep 09, 2010 02:20:31 PM UTC OK
2	Sep 08, 2010 05:36:10 PM UTC OK
 	Sep 08, 2010 03:20:51 PM UTC OK
1	Aug 18, 2010 07:51:32 PM UTC OK
 	Aug 18, 2010 06:36:38 PM UTC OK
 	Aug 18, 2010 04:51:30 PM UTC OK
{code}

I then made some changes to FilesystemObserverTestCase  to hopefully reduce the failures:

http://svn.apache.org/viewvc?view=revision&revision=1002909

 Since then it has run 10 times without failing:

{code}
20	Oct 01, 2010 01:20:35 AM UTC
19	Sep 30, 2010 11:20:40 PM UTC
18	Sep 30, 2010 10:20:52 PM UTC
17	Sep 30, 2010 09:20:33 PM UTC
16	Sep 30, 2010 08:20:42 PM UTC
15	Sep 30, 2010 05:32:39 PM UTC
14	Sep 30, 2010 04:20:31 PM UTC
13	Sep 30, 2010 03:20:44 AM UTC
12	Sep 30, 2010 02:20:38 AM UTC
11	Sep 30, 2010 01:20:40 AM UTC
{code}



> Occasional FileSystemObserver test failures
> -------------------------------------------
>
>                 Key: IO-196
>                 URL: https://issues.apache.org/jira/browse/IO-196
>             Project: Commons IO
>          Issue Type: Bug
>            Reporter: Jukka Zitting
>            Priority: Minor
>             Fix For: 2.0
>
>
> The FilesystemObserverTestCase method testFileCreate() fails occasionally in the Continuum
build at http://vmbuild.apache.org/continuum/projectView.action?projectId=155. The failure,
when it happens, is:
> FilesystemObserverTestCase
>   testFileCreate :
>  junit.framework.AssertionFailedError
>  junit.framework.AssertionFailedError: E[0 0 0 1 0 0]: No. of directories changed expected:<1>
but was:<0>
>        at junit.framework.Assert.fail(Assert.java:47)
>        at junit.framework.Assert.failNotEquals(Assert.java:282)
>        at junit.framework.Assert.assertEquals(Assert.java:64)
>        at junit.framework.Assert.assertEquals(Assert.java:201)
>        at org.apache.commons.io.monitor.FilesystemObserverTestCase.checkCollectionSizes(FilesystemObserverTestCase.java:424)
>        at org.apache.commons.io.monitor.FilesystemObserverTestCase.testFileCreate(FilesystemObserverTestCase.java:203)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message