sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mau...@apache.org
Subject [2/2] sqoop git commit: SQOOP-3072: Reenable escaping in ImportTest#testProductWithWhiteSpaceImport for proper execution
Date Tue, 06 Dec 2016 16:55:48 GMT
SQOOP-3072: Reenable escaping in
ImportTest#testProductWithWhiteSpaceImport for proper execution

(Attila Szabo)


Project: http://git-wip-us.apache.org/repos/asf/sqoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/sqoop/commit/642b41a9
Tree: http://git-wip-us.apache.org/repos/asf/sqoop/tree/642b41a9
Diff: http://git-wip-us.apache.org/repos/asf/sqoop/diff/642b41a9

Branch: refs/heads/trunk
Commit: 642b41a9e843d33bfd00f42a70160fab21cc289a
Parents: fe67a0a
Author: Attila Szabo <maugli@apache.org>
Authored: Tue Dec 6 17:54:52 2016 +0100
Committer: Attila Szabo <maugli@apache.org>
Committed: Tue Dec 6 17:54:52 2016 +0100

----------------------------------------------------------------------
 src/test/org/apache/sqoop/manager/oracle/ImportTest.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/642b41a9/src/test/org/apache/sqoop/manager/oracle/ImportTest.java
----------------------------------------------------------------------
diff --git a/src/test/org/apache/sqoop/manager/oracle/ImportTest.java b/src/test/org/apache/sqoop/manager/oracle/ImportTest.java
index cf03cc0..5db9bc2 100644
--- a/src/test/org/apache/sqoop/manager/oracle/ImportTest.java
+++ b/src/test/org/apache/sqoop/manager/oracle/ImportTest.java
@@ -21,6 +21,7 @@ package org.apache.sqoop.manager.oracle;
 import junit.framework.Assert;
 
 import org.apache.hadoop.conf.Configuration;
+import org.apache.sqoop.SqoopOptions;
 import org.apache.sqoop.manager.oracle.OraOopConstants.
            OraOopOracleDataChunkMethod;
 import org.junit.Test;
@@ -48,6 +49,7 @@ public class ImportTest extends OraOopTestCase {
 
   @Test
   public void testProductWithWhiteSpaceImport() throws Exception {
+    System.setProperty(SqoopOptions.ORACLE_ESCAPING_DISABLED, "false");
     setSqoopTargetDirectory(getSqoopTargetDirectory() + "tst_product");
     createTable("table_tst_product_with_white_space.xml");
 
@@ -56,6 +58,7 @@ public class ImportTest extends OraOopTestCase {
       Assert.assertEquals("Return code should be 0", 0, retCode);
 
     } finally {
+      System.clearProperty(SqoopOptions.ORACLE_ESCAPING_DISABLED);
       cleanupFolders();
       closeTestEnvConnection();
     }


Mime
View raw message