[seam-issues] [JBoss JIRA] (SEAMJCR-24) JcrCDIEventListenerJackrabbitTest sometimes fails on Jenkins

Marek Schmidt (Updated) (JIRA) jira-events at lists.jboss.org
Fri Dec 2 11:32:40 EST 2011

     [ https://issues.jboss.org/browse/SEAMJCR-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Schmidt updated SEAMJCR-24:

    Affects Version/s: 3.1.0.CR1

> JcrCDIEventListenerJackrabbitTest sometimes fails on Jenkins
> ------------------------------------------------------------
>                 Key: SEAMJCR-24
>                 URL: https://issues.jboss.org/browse/SEAMJCR-24
>             Project: Seam JCR
>          Issue Type: Bug
>          Components: JackRabbit Integration
>    Affects Versions: 3.1.0.Beta4, 3.1.0.Beta5, 3.1.0.CR1
>            Reporter: Marek Schmidt
>         Attachments: org.jboss.seam.jcr.test.common.events.JcrCDIEventListenerJackrabbitTest.testOnEventAdded.txt
> JcrCDIEventListenerJackrabbitTest sometimes fails on Jenkins,
> A comment in the test reads:
> {noformat}
>  // ModeShape uses background threads for event firing and similar
>  // activities.
>  // let's give it 5 seconds to run, then check the bags.
>  Thread.sleep(5000);
>  // Check that node was added
>  assertEquals(1, counter.getCountForType(Event.NODE_ADDED));
> {noformat}
> so perhaps the 5 seconds limit is just not enoough? 
> Also note the attached log in which it appears the repository had been shut down before the assertion was made, which might suggest that waiting longer probably wouldn't help and that the event just didn't happen.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list