[ https://issues.apache.org/jira/browse/DELTASPIKE-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011052#comment-14011052 ]
Gerhard Petracek commented on DELTASPIKE-370: --------------------------------------------- it's a quite special test -> imo we should improve org.apache.deltaspike.test.utils.CdiImplementation to detect versions > (or >=) and exclude this/such test/s. otherwise we need to check our jenkins builds in detail, just because the builds for the old versions will never pass again due to a quite exotic test. > 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 > Assignee: Rafael Benevides > Fix For: 0.8 > > Attachments: deltaspike-370.patch > > > 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 was sent by Atlassian JIRA (v6.2#6252)