Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-793

Create a new test that consolidates a few tests to be included in the commit-test list

    Details

    • Type: Test Test
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: test
    • Labels:
      None
    • Release Note:
      Creates a new test to test several miscellaneous functionality at one shot instead of running a job for each, to be used as a fast test for the ant commit-tests target.

      Description

      There are few tests that just run similar jobs and test different functionality. It would be useful to have a test that runs one job and tests several of these functionality together so that this test can be included in the fast commit-tests target.

      1. mapred-793-v1.patch
        22 kB
        Jothi Padmanabhan
      2. mapred-793.patch
        21 kB
        Jothi Padmanabhan

        Activity

        Hide
        gary murry added a comment -

        This is beginning to sound more like a functional test then a unit test?

        Show
        gary murry added a comment - This is beginning to sound more like a functional test then a unit test?
        Hide
        Jothi Padmanabhan added a comment -

        This is beginning to sound more like a functional test then a unit test?

        True. Actually, quite a few tests in the mapred package are functional tests than unit tests – they do some sort of end-to-end validation in the sense that they all launch a job and verfify some functionality on completion. It would need some refactoring of both the code and tests to make these real unit tests. Hopefully this will get done some time soon!

        Show
        Jothi Padmanabhan added a comment - This is beginning to sound more like a functional test then a unit test? True. Actually, quite a few tests in the mapred package are functional tests than unit tests – they do some sort of end-to-end validation in the sense that they all launch a job and verfify some functionality on completion. It would need some refactoring of both the code and tests to make these real unit tests. Hopefully this will get done some time soon!
        Hide
        Jothi Padmanabhan added a comment -

        Patch for the new test

        Show
        Jothi Padmanabhan added a comment - Patch for the new test
        Hide
        Jothi Padmanabhan added a comment -

        Minor changes to the previous patch on comments/documentation

        Show
        Jothi Padmanabhan added a comment - Minor changes to the previous patch on comments/documentation
        Hide
        Jothi Padmanabhan added a comment -

        MapRed tests and test-patch went through fine

        Show
        Jothi Padmanabhan added a comment - MapRed tests and test-patch went through fine
        Hide
        Devaraj Das added a comment -

        I just committed this. Thanks, Jothi!
        This test runs jobs and tests multiple things before and after the job runs. In the long run, we should move to using mock objects and create more manageable unit tests.

        Show
        Devaraj Das added a comment - I just committed this. Thanks, Jothi! This test runs jobs and tests multiple things before and after the job runs. In the long run, we should move to using mock objects and create more manageable unit tests.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #33 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/33/)
        . Creates a new test that consolidates a few tests to include in the commit-test list. Contributed by Jothi Padmanabhan.

        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #33 (See http://hudson.zones.apache.org/hudson/job/Hadoop-Mapreduce-trunk/33/ ) . Creates a new test that consolidates a few tests to include in the commit-test list. Contributed by Jothi Padmanabhan.

          People

          • Assignee:
            Jothi Padmanabhan
            Reporter:
            Jothi Padmanabhan
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development