sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject git commit: SQOOP-1663: OraOop test cases are not logging any output
Date Wed, 05 Nov 2014 22:23:17 GMT
Repository: sqoop
Updated Branches:
  refs/heads/trunk 2de5c850e -> 69203028b


SQOOP-1663: OraOop test cases are not logging any output


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

Branch: refs/heads/trunk
Commit: 69203028b2f22213978352746dffaefff6d572c8
Parents: 2de5c85
Author: Abraham Elmahrek <abraham@elmahrek.com>
Authored: Wed Nov 5 14:20:14 2014 -0800
Committer: Abraham Elmahrek <abraham@elmahrek.com>
Committed: Wed Nov 5 14:20:14 2014 -0800

----------------------------------------------------------------------
 src/test/org/apache/sqoop/manager/oracle/OraOopTestCase.java | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/69203028/src/test/org/apache/sqoop/manager/oracle/OraOopTestCase.java
----------------------------------------------------------------------
diff --git a/src/test/org/apache/sqoop/manager/oracle/OraOopTestCase.java b/src/test/org/apache/sqoop/manager/oracle/OraOopTestCase.java
index 27b53ee..6d0cf89 100644
--- a/src/test/org/apache/sqoop/manager/oracle/OraOopTestCase.java
+++ b/src/test/org/apache/sqoop/manager/oracle/OraOopTestCase.java
@@ -186,7 +186,6 @@ public abstract class OraOopTestCase {
   protected int runImport(String tableName, Configuration sqoopConf,
       boolean sequenceFile) {
     Logger rootLogger = Logger.getRootLogger();
-    rootLogger.removeAllAppenders();
     StringWriter stringWriter = new StringWriter();
     Layout layout = new PatternLayout("%d{yy/MM/dd HH:mm:ss} %p %c{2}: %m%n");
     WriterAppender writerAppender = new WriterAppender(layout, stringWriter);
@@ -249,9 +248,6 @@ public abstract class OraOopTestCase {
         rowsImported = Integer.parseInt(matcher.group(2));
       }
     }
-    if (retCode != 0 || rowsInTable != rowsImported) {
-      System.out.println(stringWriter.toString());
-    }
     Assert.assertEquals("Incorrect number of rows imported", rowsInTable,
         rowsImported);
     return retCode;


Mime
View raw message