Return-Path: X-Original-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltaspike-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 19D4DD0DE for ; Fri, 24 May 2013 08:10:22 +0000 (UTC) Received: (qmail 86366 invoked by uid 500); 24 May 2013 08:10:21 -0000 Delivered-To: apmail-incubator-deltaspike-dev-archive@incubator.apache.org Received: (qmail 86251 invoked by uid 500); 24 May 2013 08:10:21 -0000 Mailing-List: contact deltaspike-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltaspike-dev@incubator.apache.org Delivered-To: mailing list deltaspike-dev@incubator.apache.org Received: (qmail 85990 invoked by uid 99); 24 May 2013 08:10:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 May 2013 08:10:21 +0000 Date: Fri, 24 May 2013 08:10:21 +0000 (UTC) From: "Martin Kouba (JIRA)" To: deltaspike-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DELTASPIKE-370) ContainerCtrlTckTest - fix testShutdownWithInactiveContexts() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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