You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by Jarek Cecho <ja...@apache.org> on 2015/10/16 03:22:30 UTC

Review Request 39369: SQOOP-2619 Sqoop2: Provide ability to run integration tests against real Sqoop 2 server

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

Review request for Sqoop.


Bugs: SQOOP-2619
    https://issues.apache.org/jira/browse/SQOOP-2619


Repository: sqoop-sqoop2


Description
-------

I've implemented RealSqoopMiniCluster and provided factory so that the actual Minicluster is configurable on command line.


Diffs
-----

  test/src/main/java/org/apache/sqoop/test/infrastructure/providers/SqoopInfrastructureProvider.java 9b0d521 
  test/src/main/java/org/apache/sqoop/test/minicluster/RealSqoopCluster.java PRE-CREATION 
  test/src/main/java/org/apache/sqoop/test/minicluster/SqoopMiniClusterFactory.java PRE-CREATION 
  test/src/test/java/org/apache/sqoop/integration/server/VersionTest.java ad5a2db 

Diff: https://reviews.apache.org/r/39369/diff/


Testing
-------

mvn clean test -pl test -Dtest=VersionTest -Dsqoop.minicluster.class=org.apache.sqoop.test.minicluster.RealSqoopCluster -Dorg.apache.sqoop.minicluster.real.server_url="http://$HOST:12000/sqoop/"

Pasees for me :)


Thanks,

Jarek Cecho