[ https://issues.apache.org/jira/browse/ARIES-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985107#action_12985107 ]
Stephan Siano commented on ARIES-527: ------------------------------------- I just stumbled over this issue in the Jira, so I am not so deep in this issue itself. However from my experience with pax-exam tests the Thread.sleep() mechanism to wait for asynchronous services like blueprint to start up is always fragile and prone to break. You could set the sleep to a very large value (e.g. 30 seconds), however then your tests will take forever if you do that in any test. I have made good experience using a service tracker to wait for the service to come up (don't forget to set a timeout for that otherwise your test will never complete if the service fails to start). > Fix intermittent failures in jndi-url-itest > ------------------------------------------- > > Key: ARIES-527 > URL: https://issues.apache.org/jira/browse/ARIES-527 > Project: Aries > Issue Type: Bug > Affects Versions: 0.3, Incubation, 1.0 > Reporter: Mark Nuttall > Assignee: Mark Nuttall > Priority: Minor > Fix For: 0.3, Incubation, 1.0 > > > org.apache.aries.jndi.itests.JndiUrlIntegrationTest fails in the Hudson > build intermittently. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.