manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CONNECTORS-421) Test infrastructure's cleanup methods cause agents process to fail to start
Date Tue, 06 Mar 2012 19:00:54 GMT

     [ 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

        

Mime
View raw message