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

        

Reply via email to