openwebbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OWB-561) Multiple contexts with the same Scope are not handled properly -- causing tck failures
Date Sun, 10 Apr 2011 00:19:05 GMT

     [ https://issues.apache.org/jira/browse/OWB-561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Struberg resolved OWB-561.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.1
         Assignee: Mark Struberg  (was: Gurkan Erdogdu)

fixed in r1090721

> Multiple contexts with the same Scope are not handled properly -- causing tck failures
> --------------------------------------------------------------------------------------
>
>                 Key: OWB-561
>                 URL: https://issues.apache.org/jira/browse/OWB-561
>             Project: OpenWebBeans
>          Issue Type: Bug
>            Reporter: Kevan Miller
>            Assignee: Mark Struberg
>             Fix For: 1.1.1
>
>
> Running container tests (not standalone), I'm seeing the following failure in Geronimo:
> Expected an exception in test method org.jboss.jsr299.tck.tests.context.ContextTest.testGetContextWithTooManyActiveContextsFails()">
>       <![CDATA[org.testng.TestException:
> Expected an exception in test method org.jboss.jsr299.tck.tests.context.ContextTest.testGetContextWithTooManyActiveContextsFails()
>         at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:74)
>         at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
> ... Removed 18 stack frames]]>
> Seems BeanManagerImpl is not handling this case properly. IRC'ed with Mark. Looks like
singleContextMap needs to be cleaned up after the second context is added.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message