Review Board 1.7.22


Review request for SQOOP-1035 "Add MS Sqoop Connecter tests to repo"

Review Request #10987 - Created May 8, 2013 and updated

Shuaishuai Nie
trunk
SQOOP-1035
Reviewers
Sqoop
sqoop-trunk
Add the MS Sqoop connector tests that test integration scenarios with SQL Server to the repo.
All tests passing after applying the patch

Diff revision 7 (Latest)

1 2 3 4 5 6 7
1 2 3 4 5 6 7

  1. build.xml: Loading...
  2. src/test/com/cloudera/sqoop/ThirdPartyTests.java: Loading...
  3. src/test/com/cloudera/sqoop/hive/TestHiveImport.java: Loading...
  4. src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestData.java: Loading...
  5. src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestDataFileParser.java: Loading...
  6. src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestUtils.java: Loading...
  7. src/test/org/apache/sqoop/manager/sqlserver/ManagerCompatExport.java: Loading...
  8. src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeExportDelimitedFileManualTest.java: Loading...
  9. src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeExportSequenceFileManualTest.java: Loading...
  10. src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeImportDelimitedFileManualTest.java: Loading...
  11. src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeImportSequenceFileManualTest.java: Loading...
  12. src/test/org/apache/sqoop/manager/sqlserver/SQLServerHiveImportManualTest.java: Loading...
  13. src/test/org/apache/sqoop/manager/sqlserver/SQLServerManagerManualTest.java: Loading...
  14. src/test/org/apache/sqoop/manager/sqlserver/SQLServerMultiColsManualTest.java: Loading...
  15. src/test/org/apache/sqoop/manager/sqlserver/SQLServerMultiMapsManualTest.java: Loading...
  16. src/test/org/apache/sqoop/manager/sqlserver/SQLServerParseMethodsManualTest.java: Loading...
  17. src/test/org/apache/sqoop/manager/sqlserver/SQLServerQueryManualTest.java: Loading...
  18. src/test/org/apache/sqoop/manager/sqlserver/SQLServerSplitByManualTest.java: Loading...
  19. src/test/org/apache/sqoop/manager/sqlserver/SQLServerWhereManualTest.java: Loading...
  20. testdata/DatatypeTestData-export-lite.txt: Loading...
  21. testdata/DatatypeTestData-import-lite.txt: Loading...
build.xml
Revision ffc878e New Change
[20] 259 lines
[+20]
260
  <property name="java.security.krb5.realm"
260
  <property name="java.security.krb5.realm"
261
            value="OX.AC.UK"/>
261
            value="OX.AC.UK"/>
262

    
   
262

   
263
  <property name="java.security.krb5.kdc"
263
  <property name="java.security.krb5.kdc"
264
            value="kdc0.ox.ac.uk:kdc1.ox.ac.uk"/>
264
            value="kdc0.ox.ac.uk:kdc1.ox.ac.uk"/>

    
   
265
  <property name="ms.sqlserver.username"

    
   
266
            value="SQOOPUSER"/>

    
   
267

   

    
   
268
  <property name="ms.sqlserver.password"

    
   
269
            value="PASSWORD"/>

    
   
270

   
265

    
   
271

   
266
  <condition property="windows">
272
  <condition property="windows">
267
    <os family="windows" />
273
    <os family="windows" />
268
  </condition>
274
  </condition>
269

    
   
275

   
[+20] [20] 472 lines
[+20]
742
      -->
748
      -->
743

    
   
749

   
744
      <sysproperty key="test.build.data" value="${build.test}/data"/>
750
      <sysproperty key="test.build.data" value="${build.test}/data"/>
745
      <sysproperty key="build.test" value="${build.test}"/>
751
      <sysproperty key="build.test" value="${build.test}"/>
746

    
   
752

   

    
   
753
      <!-- microsoft sqlserver manual test related properties-->

    
   
754
      <sysproperty key="test.data.dir" value="${basedir}/testdata"/>

    
   
755
      <sysproperty key="ms.datatype.test.data.file.export" value="DatatypeTestData-export-lite.txt"/>

    
   
756
      <sysproperty key="ms.datatype.test.data.file.import" value="DatatypeTestData-import-lite.txt"/>

    
   
757
      <sysproperty key="ms.datatype.test.data.file.delim" value=","/>

    
   
758
      <sysproperty key="ms.datatype.test.hdfsprefix" value="file:///"/>

    
   
759
      <sysproperty key="ms.sqlserver.username" value="${ms.sqlserver.username}"/>

    
   
760
      <sysproperty key="ms.sqlserver.password" value="${ms.sqlserver.password}"/>

    
   
761

   
747
      <sysproperty key="net.sourceforge.cobertura.datafile"
762
      <sysproperty key="net.sourceforge.cobertura.datafile"
748
          value="${cobertura.dir}/cobertura-${cobertura.testset}.ser" />
763
          value="${cobertura.dir}/cobertura-${cobertura.testset}.ser" />
749

    
   
764

   
750
      <!-- define this property to force Sqoop to throw better exceptions on
765
      <!-- define this property to force Sqoop to throw better exceptions on
751
           errors during testing, instead of printing a short message and
766
           errors during testing, instead of printing a short message and
[+20] [20] 544 lines
src/test/com/cloudera/sqoop/ThirdPartyTests.java
Revision 7b1fa26 New Change
 
src/test/com/cloudera/sqoop/hive/TestHiveImport.java
Revision 9c47bad New Change
 
src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestData.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestDataFileParser.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestUtils.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/ManagerCompatExport.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeExportDelimitedFileManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeExportSequenceFileManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeImportDelimitedFileManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeImportSequenceFileManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerHiveImportManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerManagerManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerMultiColsManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerMultiMapsManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerParseMethodsManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerQueryManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerSplitByManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerWhereManualTest.java
New File
 
testdata/DatatypeTestData-export-lite.txt
New File
 
testdata/DatatypeTestData-import-lite.txt
New File
 
  1. build.xml: Loading...
  2. src/test/com/cloudera/sqoop/ThirdPartyTests.java: Loading...
  3. src/test/com/cloudera/sqoop/hive/TestHiveImport.java: Loading...
  4. src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestData.java: Loading...
  5. src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestDataFileParser.java: Loading...
  6. src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestUtils.java: Loading...
  7. src/test/org/apache/sqoop/manager/sqlserver/ManagerCompatExport.java: Loading...
  8. src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeExportDelimitedFileManualTest.java: Loading...
  9. src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeExportSequenceFileManualTest.java: Loading...
  10. src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeImportDelimitedFileManualTest.java: Loading...
  11. src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeImportSequenceFileManualTest.java: Loading...
  12. src/test/org/apache/sqoop/manager/sqlserver/SQLServerHiveImportManualTest.java: Loading...
  13. src/test/org/apache/sqoop/manager/sqlserver/SQLServerManagerManualTest.java: Loading...
  14. src/test/org/apache/sqoop/manager/sqlserver/SQLServerMultiColsManualTest.java: Loading...
  15. src/test/org/apache/sqoop/manager/sqlserver/SQLServerMultiMapsManualTest.java: Loading...
  16. src/test/org/apache/sqoop/manager/sqlserver/SQLServerParseMethodsManualTest.java: Loading...
  17. src/test/org/apache/sqoop/manager/sqlserver/SQLServerQueryManualTest.java: Loading...
  18. src/test/org/apache/sqoop/manager/sqlserver/SQLServerSplitByManualTest.java: Loading...
  19. src/test/org/apache/sqoop/manager/sqlserver/SQLServerWhereManualTest.java: Loading...
  20. testdata/DatatypeTestData-export-lite.txt: Loading...
  21. testdata/DatatypeTestData-import-lite.txt: Loading...