[
http://jira.amdatu.org/jira/browse/AMDATU-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10398#comment-10398
]
Ivo Ladage - van Doorn commented on AMDATU-189:
-----------------------------------------------
Hhmm, I think there is at least 1 issue in the JSP test. It registers a
Resourceprovider for which a JSP servlet will be registered using the
whiteboard pattern. However, you do not know when the listener actually
registered the jsp servlet, so the jsp could be requested before its jsp
servlet is registered. There is no way you can tell when this jsp servlet
registration is ready using a service dependency. I guess a Thread.sleep should
do it for now.
The same issue probably applies to any servlets and filters registered using
the whiteboard pattern. I'all add a Thread.sleep for now and we'll see if that
fixes the failures
> Random failures for filter/jsp integration test
> -----------------------------------------------
>
> Key: AMDATU-189
> URL: http://jira.amdatu.org/jira/browse/AMDATU-189
> Project: Amdatu
> Issue Type: Bug
> Components: Testing
> Affects Versions: 0.0.6
> Reporter: Bram de Kruijff
> Assignee: Ivo Ladage - van Doorn
> Priority: Blocker
> Fix For: 0.0.6
>
>
> I got a buildfailure on the testFilter integration test after a commit that
> AFAIK totally unrelated. Looking at bamboo it seems this happens every now
> and then:
> http://bamboo.amdatu.org/bamboo/browse/AMDATU-TRUNK/test/case/2719767
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira