[jbosstools-issues] [JBoss JIRA] (JBIDE-14315) handle mockito osgi unfriendly API
Paul Richardson (JIRA)
jira-events at lists.jboss.org
Thu Apr 25 08:24:53 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-14315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770119#comment-12770119 ]
Paul Richardson commented on JBIDE-14315:
-----------------------------------------
Not that I can see. The only way for it to operate concurrently without tests interfering with each other would be if they were executed on different threads, since the GlobalConfiguration is a ThreadLocal.
> handle mockito osgi unfriendly API
> ----------------------------------
>
> Key: JBIDE-14315
> URL: https://issues.jboss.org/browse/JBIDE-14315
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: locus
> Reporter: Max Rydahl Andersen
> Assignee: Paul Richardson
> Fix For: 4.1.0.Beta1
>
> Attachments: 0001-Allow-the-cache-option-to-be-changed-in-the-default-.patch
>
>
> The current approach in Locus to add org.mockito.MockitoConfiguration makes our bundle a very custom one, not just a rebundle.
> Need to see if we can get an updated mockito release out or some other way disable mockito's caching behavior.
> The current fix also has multithreading issues since two tests could be running and be toggling mockito classcaching on and off and trigger a racecondition.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list