drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jacq...@apache.org
Subject [15/17] drill git commit: DRILL-3098: Set Unix style "line.separator" for tests
Date Fri, 15 May 2015 06:43:01 GMT
DRILL-3098: Set Unix style "line.separator" for tests


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

Branch: refs/heads/master
Commit: 984ee012ae0e0a42efa1b6512d7c14dd7f287d1a
Parents: 7c78244
Author: Aditya Kishore <adi@apache.org>
Authored: Thu May 14 21:51:18 2015 -0700
Committer: Jacques Nadeau <jacques@apache.org>
Committed: Thu May 14 22:18:03 2015 -0700

----------------------------------------------------------------------
 common/src/test/java/org/apache/drill/test/DrillTest.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/984ee012/common/src/test/java/org/apache/drill/test/DrillTest.java
----------------------------------------------------------------------
diff --git a/common/src/test/java/org/apache/drill/test/DrillTest.java b/common/src/test/java/org/apache/drill/test/DrillTest.java
index 8abcb6a..bbe014f 100644
--- a/common/src/test/java/org/apache/drill/test/DrillTest.java
+++ b/common/src/test/java/org/apache/drill/test/DrillTest.java
@@ -40,7 +40,11 @@ import com.fasterxml.jackson.databind.ObjectMapper;
 public class DrillTest {
   static final Logger logger = org.slf4j.LoggerFactory.getLogger(DrillTest.class);
 
-  protected static final ObjectMapper objectMapper = new ObjectMapper();
+  protected static final ObjectMapper objectMapper;
+  static {
+    System.setProperty("line.separator", "\n");
+    objectMapper = new ObjectMapper();
+  }
 
   static final SystemManager manager = new SystemManager();
 


Mime
View raw message