Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-321

Add 3 seconds sleep for test cases that involves agent.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.2.0
    • Fix Version/s: 0.2.0
    • Component/s: Build and Test Code
    • Labels:
      None
    • Environment:

      Redhat EL 5.1, Java 6

      Description

      Junit test cases could fail if the system is low on resource. Between each agent startup run, there should be a graceful sleep period to ensure Chukwa Agent release the port before creating another instance of Chukwa Agent.

        Activity

        Hide
        hudson Hudson added a comment -
        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #61 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/61/ )
        Hide
        eyang Eric Yang added a comment -

        I just committed this, thanks Jerome.

        Show
        eyang Eric Yang added a comment - I just committed this, thanks Jerome.
        Hide
        jboulon Jerome Boulon added a comment -

        +1 looks good

        Show
        jboulon Jerome Boulon added a comment - +1 looks good
        Hide
        eyang Eric Yang added a comment -

        Added 2 seconds sleep to all agent shutdown.

        Show
        eyang Eric Yang added a comment - Added 2 seconds sleep to all agent shutdown.

          People

          • Assignee:
            eyang Eric Yang
            Reporter:
            eyang Eric Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development