You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2011/04/10 02:19:05 UTC
[jira] [Resolved] (OWB-561) Multiple contexts with the same Scope
are not handled properly -- causing tck failures
[ 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