Return-Path: X-Original-To: apmail-incubator-connectors-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-connectors-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 234B99C33 for ; Tue, 6 Mar 2012 19:01:16 +0000 (UTC) Received: (qmail 66573 invoked by uid 500); 6 Mar 2012 19:01:16 -0000 Delivered-To: apmail-incubator-connectors-dev-archive@incubator.apache.org Received: (qmail 66490 invoked by uid 500); 6 Mar 2012 19:01:16 -0000 Mailing-List: contact connectors-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: connectors-dev@incubator.apache.org Delivered-To: mailing list connectors-dev@incubator.apache.org Received: (qmail 66482 invoked by uid 99); 6 Mar 2012 19:01:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 19:01:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 19:01:15 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id ECCECBC49 for ; Tue, 6 Mar 2012 19:00:54 +0000 (UTC) Date: Tue, 6 Mar 2012 19:00:54 +0000 (UTC) From: "Karl Wright (Resolved) (JIRA)" To: connectors-dev@incubator.apache.org Message-ID: <1183246577.28673.1331060454971.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <521317366.28069.1331053258230.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CONNECTORS-421) Test infrastructure's cleanup methods cause agents process to fail to start MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CONNECTORS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wright resolved CONNECTORS-421. ------------------------------------ Resolution: Fixed r1297651 > Test infrastructure's cleanup methods cause agents process to fail to start > --------------------------------------------------------------------------- > > Key: CONNECTORS-421 > URL: https://issues.apache.org/jira/browse/CONNECTORS-421 > Project: ManifoldCF > Issue Type: Bug > Components: Tests > Affects Versions: ManifoldCF 0.5 > Reporter: Karl Wright > Assignee: Karl Wright > Priority: Minor > Fix For: ManifoldCF 0.5 > > > The testing infrastructure attempts to clean up from a previous run of a test. If properties.xml is left around, however, this cleanup will succeed but prevent the agents process from starting in the test. That's because the addShutdownHook() is called, and when resetEnvironment() is called agentStop() is thus invoked, and once agentStop() is invoked agentStart() will just exit next time it is called. > The fix is to make resetEnvironment() reset the agents stop flag so that starting agents will then work. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira