You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drill.apache.org by ja...@apache.org on 2015/05/15 08:43:01 UTC
[15/17] drill git commit: DRILL-3098: Set Unix style "line.separator"
for tests
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 <ad...@apache.org>
Authored: Thu May 14 21:51:18 2015 -0700
Committer: Jacques Nadeau <ja...@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();