drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adene...@apache.org
Subject drill git commit: DRILL-4423: TestCsvHeader#testEmptyFinalColumn is causing the unit test framework to print 10K rows in Stdout
Date Tue, 23 Feb 2016 00:44:18 GMT
Repository: drill
Updated Branches:
  refs/heads/master c67d070bf -> 6d5f49830


DRILL-4423: TestCsvHeader#testEmptyFinalColumn is causing the unit test framework to print
10K rows in Stdout

this closes #387


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

Branch: refs/heads/master
Commit: 6d5f4983003b8f5d351adcb0bc9881d2dc4c2d3f
Parents: c67d070
Author: adeneche <adeneche@gmail.com>
Authored: Mon Feb 22 12:48:11 2016 -0800
Committer: adeneche <adeneche@gmail.com>
Committed: Mon Feb 22 16:44:04 2016 -0800

----------------------------------------------------------------------
 .../src/test/java/org/apache/drill/DrillTestWrapper.java    | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/6d5f4983/exec/java-exec/src/test/java/org/apache/drill/DrillTestWrapper.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/DrillTestWrapper.java b/exec/java-exec/src/test/java/org/apache/drill/DrillTestWrapper.java
index e828eb8..c9f6eae 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/DrillTestWrapper.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/DrillTestWrapper.java
@@ -284,9 +284,6 @@ public class DrillTestWrapper {
           if (obj != null) {
             if (obj instanceof Text) {
               obj = obj.toString();
-              if (obj.equals("")) {
-                System.out.println(w.getField());
-              }
             }
           }
           combinedVectors.get(field).add(obj);
@@ -522,9 +519,6 @@ public class DrillTestWrapper {
           if (obj != null) {
             if (obj instanceof Text) {
               obj = obj.toString();
-              if (obj.equals("")) {
-                System.out.println(w.getField());
-              }
             }
             else if (obj instanceof byte[]) {
               obj = new String((byte[]) obj, "UTF-8");
@@ -609,7 +603,6 @@ public class DrillTestWrapper {
 
     assertEquals("Different number of records returned", expectedRecords.size(), actualRecords.size());
 
-    String missing = "";
     int i = 0;
     int counter = 0;
     boolean found;
@@ -656,8 +649,6 @@ public class DrillTestWrapper {
         counter++;
       }
     }
-    logger.debug(missing);
-    System.out.println(missing);
     assertEquals(0, actualRecords.size());
   }
 


Mime
View raw message