Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Sqoop, mail # dev - Review Request: SQOOP-861 Sqoop2: Integration: Create basic integration infrastructure


Copy link to this message
-
Review Request: SQOOP-861 Sqoop2: Integration: Create basic integration infrastructure
Jarek Cecho 2013-02-04, 05:55

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9281/
-----------------------------------------------------------

Review request for Sqoop.
Description
-------

I've created basic infrastructure for integration tests. I'm using cargo for automatic installation and deployment of Sqoop server into Tomcat.

I've included first simple integration test that will connect to the Sqoop server and fetch the version.
This addresses bug SQOOP-861.
    https://issues.apache.org/jira/browse/SQOOP-861
Diffs
-----

  pom.xml 003ac43fe3dc7b8ecccf6d7e912901d02b5d0860
  test/pom.xml PRE-CREATION
  test/src/main/java/org/apache/sqoop/test/minicluster/InProcessSqoopMiniCluster.java PRE-CREATION
  test/src/main/java/org/apache/sqoop/test/minicluster/SqoopMiniCluster.java PRE-CREATION
  test/src/main/java/org/apache/sqoop/test/minicluster/TomcatSqoopMiniCluster.java PRE-CREATION
  test/src/test/java/org/apache/sqoop/integration/TomcatTestCase.java PRE-CREATION
  test/src/test/java/org/apache/sqoop/integration/server/VersionTest.java PRE-CREATION

Diff: https://reviews.apache.org/r/9281/diff/
Testing
-------

mvn clean test # Run only unit tests
mvn clean integration-test # Run both unit and integration tests
Thanks,

Jarek Cecho

+
Cheolsoo Park 2013-02-06, 20:34
+
Jarek Cecho 2013-02-09, 01:27
+
Cheolsoo Park 2013-02-10, 20:40
+
Jarek Cecho 2013-02-09, 01:35
+
Cheolsoo Park 2013-02-10, 20:45