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

test/samples doesn't exist leads to ant test failure

    Details

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

      Redhat EL 5.1, Java 6

      Description

      Since there is no test samples for testing database features, the empty directory could get removed by various building tools. When ant test is executed, this leads to failure. The fix is to make ant test target not fail on missing test data.

        Activity

        Hide
        eyang Eric Yang added a comment -

        Skip test directory, if it doesn't exist.

        Show
        eyang Eric Yang added a comment - Skip test directory, if it doesn't exist.
        Hide
        zhangyongjiang Cheng added a comment -

        +1 looks good

        Show
        zhangyongjiang Cheng added a comment - +1 looks good
        Hide
        eyang Eric Yang added a comment -

        I just committed this, thanks Cheng.

        Show
        eyang Eric Yang added a comment - I just committed this, thanks Cheng.
        Hide
        hudson Hudson added a comment -

        Integrated in Chukwa-trunk #13 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/13/)
        . Skip copying of test/sample directory if it doesn't exist. (Eric Yang)

        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #13 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/13/ ) . Skip copying of test/sample directory if it doesn't exist. (Eric Yang)
        Hide
        hudson Hudson added a comment -
        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #45 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/45/ )

          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