Review Board 1.7.22


SQOOP-1114 Sqoop2: Integration: Add tests for various Generic JDBC Connector splitters

Review Request #12201 - Created June 30, 2013 and updated

Jarek Cecho
SQOOP-1114
Reviewers
Sqoop
sqoop-sqoop2
I've added new test case that is testing most of splitters available in Generic JDBC Connector. For those tests I've prepared new testing data set that is based on Ubuntu releases and updated junit to version 4.11 for better Parameterized runner.
2 out of 4 new tests are currently failing, both appear to be code (and not test) issues, so I've filled SQOOP-1112 and SQOOP-1113 to deal with them separately.
pom.xml
Revision 520c107662ff1215820369d873daa25289ce492f New Change
[20] 96 lines
[+20]
97
    <derby.version>10.8.2.2</derby.version>
97
    <derby.version>10.8.2.2</derby.version>
98
    <hadoop.1.version>1.0.3</hadoop.1.version>
98
    <hadoop.1.version>1.0.3</hadoop.1.version>
99
    <hadoop.2.version>2.0.2-alpha</hadoop.2.version>
99
    <hadoop.2.version>2.0.2-alpha</hadoop.2.version>
100
    <guava.version>11.0.2</guava.version>
100
    <guava.version>11.0.2</guava.version>
101
    <json-simple.version>1.1</json-simple.version>
101
    <json-simple.version>1.1</json-simple.version>
102
    <junit.version>4.9</junit.version>
102
    <junit.version>4.11</junit.version>
103
    <mockito.version>1.9.5</mockito.version>
103
    <mockito.version>1.9.5</mockito.version>
104
    <log4j.version>1.2.16</log4j.version>
104
    <log4j.version>1.2.16</log4j.version>
105
    <servlet.version>2.5</servlet.version>
105
    <servlet.version>2.5</servlet.version>
106
    <cargo.version>1.3.2</cargo.version>
106
    <cargo.version>1.3.2</cargo.version>
107
    <tomcat.major.version>6</tomcat.major.version>
107
    <tomcat.major.version>6</tomcat.major.version>
[+20] [20] 550 lines
test/src/main/java/org/apache/sqoop/test/asserts/HdfsAsserts.java
Revision 056e6124b918ce5821c389e388a0cdfa68fd7fc0 New Change
 
test/src/main/java/org/apache/sqoop/test/data/UbuntuReleases.java
New File
 
test/src/main/java/org/apache/sqoop/test/testcases/ConnectorTestCase.java
Revision bf1c91f21784cbb57a4d5f07711ad57deaaf3f7d New Change
 
test/src/main/java/org/apache/sqoop/test/testcases/TomcatTestCase.java
Revision ca77e64486d80b38306b5b30e185e6278ad7eaf1 New Change
 
test/src/main/java/org/apache/sqoop/test/utils/ParametrizedUtils.java
New File
 
test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/imports/PartitionerTest.java
New File
 
  1. pom.xml: Loading...
  2. test/src/main/java/org/apache/sqoop/test/asserts/HdfsAsserts.java: Loading...
  3. test/src/main/java/org/apache/sqoop/test/data/UbuntuReleases.java: Loading...
  4. test/src/main/java/org/apache/sqoop/test/testcases/ConnectorTestCase.java: Loading...
  5. test/src/main/java/org/apache/sqoop/test/testcases/TomcatTestCase.java: Loading...
  6. test/src/main/java/org/apache/sqoop/test/utils/ParametrizedUtils.java: Loading...
  7. test/src/test/java/org/apache/sqoop/integration/connector/jdbc/generic/imports/PartitionerTest.java: Loading...