Flume
  1. Flume
  2. FLUME-1253

Support for running integration tests

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently the tests are run by wiring the components together programmatically. This is not reflective of the scenario in which the system runs in production.

      Having a mechanism by which the the distribution can be launched directly will allow the execution of tests that mimic the real environment.

      1. FLUME-1253-2.patch
        26 kB
        Arvind Prabhakar
      2. FLUME-1253-1.patch
        26 kB
        Arvind Prabhakar

        Activity

        Hide
        Arvind Prabhakar added a comment -

        Review board is down at the moment. Will put up the review once it gets back up.

        Show
        Arvind Prabhakar added a comment - Review board is down at the moment. Will put up the review once it gets back up.
        Hide
        Mike Percy added a comment -

        Hi Arvind, my only suggestion on this would be to rename the directory integration-tests to flume-ng-integration-tests or something like that, since all other maven modules have a flume-ng prefix.

        Show
        Mike Percy added a comment - Hi Arvind, my only suggestion on this would be to rename the directory integration-tests to flume-ng-integration-tests or something like that, since all other maven modules have a flume-ng prefix.
        Hide
        Arvind Prabhakar added a comment -

        Thanks for the review Mike. Changed the module name to flume-ng-tests.

        Show
        Arvind Prabhakar added a comment - Thanks for the review Mike. Changed the module name to flume-ng-tests.
        Hide
        Mike Percy added a comment -

        +1

        Show
        Mike Percy added a comment - +1
        Hide
        Mike Percy added a comment -

        Patch committed. Thanks Arvind!

        Show
        Mike Percy added a comment - Patch committed. Thanks Arvind!
        Hide
        Hudson added a comment -

        Integrated in flume-trunk #234 (See https://builds.apache.org/job/flume-trunk/234/)
        FLUME-1253. Support for running integration tests.

        (Arvind Prabhakar via Mike Percy) (Revision 1350062)

        Result = SUCCESS
        mpercy : http://svn.apache.org/viewvc/?view=rev&rev=1350062
        Files :

        • /incubator/flume/trunk/flume-ng-tests
        • /incubator/flume/trunk/flume-ng-tests/pom.xml
        • /incubator/flume/trunk/flume-ng-tests/src
        • /incubator/flume/trunk/flume-ng-tests/src/test
        • /incubator/flume/trunk/flume-ng-tests/src/test/java
        • /incubator/flume/trunk/flume-ng-tests/src/test/java/org
        • /incubator/flume/trunk/flume-ng-tests/src/test/java/org/apache
        • /incubator/flume/trunk/flume-ng-tests/src/test/java/org/apache/flume
        • /incubator/flume/trunk/flume-ng-tests/src/test/java/org/apache/flume/test
        • /incubator/flume/trunk/flume-ng-tests/src/test/java/org/apache/flume/test/agent
        • /incubator/flume/trunk/flume-ng-tests/src/test/java/org/apache/flume/test/agent/TestRpcClient.java
        • /incubator/flume/trunk/flume-ng-tests/src/test/java/org/apache/flume/test/agent/TestRpcClientCommunicationFailure.java
        • /incubator/flume/trunk/flume-ng-tests/src/test/java/org/apache/flume/test/util
        • /incubator/flume/trunk/flume-ng-tests/src/test/java/org/apache/flume/test/util/StagedInstall.java
        • /incubator/flume/trunk/flume-ng-tests/src/test/resources
        • /incubator/flume/trunk/flume-ng-tests/src/test/resources/log4j.properties
        • /incubator/flume/trunk/flume-ng-tests/src/test/resources/rpc-client-test.properties
        • /incubator/flume/trunk/pom.xml
        Show
        Hudson added a comment - Integrated in flume-trunk #234 (See https://builds.apache.org/job/flume-trunk/234/ ) FLUME-1253 . Support for running integration tests. (Arvind Prabhakar via Mike Percy) (Revision 1350062) Result = SUCCESS mpercy : http://svn.apache.org/viewvc/?view=rev&rev=1350062 Files : /incubator/flume/trunk/flume-ng-tests /incubator/flume/trunk/flume-ng-tests/pom.xml /incubator/flume/trunk/flume-ng-tests/src /incubator/flume/trunk/flume-ng-tests/src/test /incubator/flume/trunk/flume-ng-tests/src/test/java /incubator/flume/trunk/flume-ng-tests/src/test/java/org /incubator/flume/trunk/flume-ng-tests/src/test/java/org/apache /incubator/flume/trunk/flume-ng-tests/src/test/java/org/apache/flume /incubator/flume/trunk/flume-ng-tests/src/test/java/org/apache/flume/test /incubator/flume/trunk/flume-ng-tests/src/test/java/org/apache/flume/test/agent /incubator/flume/trunk/flume-ng-tests/src/test/java/org/apache/flume/test/agent/TestRpcClient.java /incubator/flume/trunk/flume-ng-tests/src/test/java/org/apache/flume/test/agent/TestRpcClientCommunicationFailure.java /incubator/flume/trunk/flume-ng-tests/src/test/java/org/apache/flume/test/util /incubator/flume/trunk/flume-ng-tests/src/test/java/org/apache/flume/test/util/StagedInstall.java /incubator/flume/trunk/flume-ng-tests/src/test/resources /incubator/flume/trunk/flume-ng-tests/src/test/resources/log4j.properties /incubator/flume/trunk/flume-ng-tests/src/test/resources/rpc-client-test.properties /incubator/flume/trunk/pom.xml

          People

          • Assignee:
            Arvind Prabhakar
            Reporter:
            Arvind Prabhakar
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development