You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Martin Kouba (JIRA)" <ji...@apache.org> on 2013/05/24 10:10:21 UTC
[jira] [Created] (DELTASPIKE-370) ContainerCtrlTckTest - fix
testShutdownWithInactiveContexts()
Martin Kouba created DELTASPIKE-370:
---------------------------------------
Summary: ContainerCtrlTckTest - fix testShutdownWithInactiveContexts()
Key: DELTASPIKE-370
URL: https://issues.apache.org/jira/browse/DELTASPIKE-370
Project: DeltaSpike
Issue Type: Bug
Components: CdiControl
Affects Versions: 0.3-incubating
Reporter: Martin Kouba
Line 175:
cdiContainer.getContextControl().startContexts();
should be:
cdiContainer.getContextControl().stopContexts();
Fixing this causes the testShutdownWithInactiveContexts() failure, due to https://issues.jboss.org/browse/WELD-1072
In fact testRestartContexts() should also fail but it doesn't by coincidence, the reasons:
- WeldContainerControl.shutdown() does not stop contexts
- Weld core does not invalidate other contexts than @ApplicationScoped during shutdown
- Weld core uses some request scoped caching optimization
WELD-1072 is going to be fixed in 1.1.13.Final and 2.0.1.Final.
The test should be fixed. I'm going to address the other problem (WeldContainerControl.shutdown()) in a different issue.
--
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