Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-40

SanityTest needs rework

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • adsal
    • None
    • Operating System: All
      Platform: PC

    • 116
    • High

    Description

      The current sanity test is very fragile and needs to be revisited. The purpose of this test is to validate all the bundles ensuring that they are all in a healthy state.

      1) Use a proper mechanism to start the controller process. Consider using a controller-maven-plugin to plug into the lifecycle phases of maven. Wrapping run.sh and sleeping and doing System.exit() seems very convoluted.

      2) The sanityTest has not been implemented as a test. Its a bundle which is copied to the plugins directory which spins for some time and exits the JVM. The test is better implemented as a JMX client being out of process to validate the bundles.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ppallamr@cisco.com Prasanth Pallamreddy
            ppallamr@cisco.com Prasanth Pallamreddy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: