Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-421

Test infrastructure's cleanup methods cause agents process to fail to start

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • ManifoldCF 0.5
    • ManifoldCF 0.5
    • Tests
    • None

    Description

      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.

      Attachments

        Activity

          People

            kwright@metacarta.com Karl Wright
            kwright@metacarta.com Karl Wright
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: