[jboss-jira] [JBoss JIRA] Commented: (JBESB-342) waits to circumvent race conditions tests.

Kevin Conner (JIRA) jira-events at jboss.com
Thu Feb 1 06:05:20 EST 2007


    [ http://jira.jboss.com/jira/browse/JBESB-342?page=comments#action_12352076 ] 
            
Kevin Conner commented on JBESB-342:
------------------------------------

The tests have been changed to use notification instead of creating a result file.

Committed in revision 9246

> waits to circumvent race conditions tests.
> ------------------------------------------
>
>                 Key: JBESB-342
>                 URL: http://jira.jboss.com/jira/browse/JBESB-342
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Rosetta
>         Environment: Any
>            Reporter: Kurt Stam
>         Assigned To: Kevin Conner
>             Fix For: 4.0
>
>
> Most listener unittests (i.e. the ListenerManagerFTPIntegrationTest) relay on Thread.waits to be successful. This is very unrelayable. We should add some mechanism to have thread communication so we know when we can shutdown the threads and be successful.  We should get rid of these build-in race conditions, even if it is 'just for testing'.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list