carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jack...@apache.org
Subject [1/2] incubator-carbondata git commit: [CARBONDATA-220] TimeStampDirectDictionaryGenerator_UT.java is not running in the build
Date Mon, 12 Sep 2016 08:19:35 GMT
Repository: incubator-carbondata
Updated Branches:
  refs/heads/master c3041b795 -> f9e557595


[CARBONDATA-220] TimeStampDirectDictionaryGenerator_UT.java is not running in the build


Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/commit/22ca99f1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/22ca99f1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/22ca99f1

Branch: refs/heads/master
Commit: 22ca99f19c93cdb8b21964edc9313bd6ab2b99ae
Parents: c3041b7
Author: mohammadshahidkhan <mohdshahidkhan1987@gmail.com>
Authored: Thu Sep 8 15:36:11 2016 +0530
Committer: jackylk <jacky.likun@huawei.com>
Committed: Mon Sep 12 16:08:37 2016 +0800

----------------------------------------------------------------------
 .../timestamp/TimeStampDirectDictionaryGeneratorTest.java          | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/22ca99f1/processing/src/test/java/org/apache/carbondata/core/keygenerator/directdictionary/timestamp/TimeStampDirectDictionaryGeneratorTest.java
----------------------------------------------------------------------
diff --git a/processing/src/test/java/org/apache/carbondata/core/keygenerator/directdictionary/timestamp/TimeStampDirectDictionaryGeneratorTest.java
b/processing/src/test/java/org/apache/carbondata/core/keygenerator/directdictionary/timestamp/TimeStampDirectDictionaryGeneratorTest.java
index 0e8d9dc..1a9fe37 100644
--- a/processing/src/test/java/org/apache/carbondata/core/keygenerator/directdictionary/timestamp/TimeStampDirectDictionaryGeneratorTest.java
+++ b/processing/src/test/java/org/apache/carbondata/core/keygenerator/directdictionary/timestamp/TimeStampDirectDictionaryGeneratorTest.java
@@ -20,6 +20,7 @@ package org.apache.carbondata.core.keygenerator.directdictionary.timestamp;
 
 import java.text.SimpleDateFormat;
 import java.util.Date;
+import java.util.TimeZone;
 
 import org.apache.carbondata.core.constants.CarbonCommonConstants;
 import org.apache.carbondata.core.util.CarbonProperties;
@@ -86,6 +87,7 @@ public class TimeStampDirectDictionaryGeneratorTest {
         .getProperty(CarbonCommonConstants.CARBON_TIMESTAMP_FORMAT,
             CarbonCommonConstants.CARBON_TIMESTAMP_DEFAULT_FORMAT));
     timeParser.setLenient(false);
+    timeParser.setTimeZone(TimeZone.getTimeZone("IST"));
     String actualValue = timeParser.format(date);
     Assert.assertEquals("1970-01-01 05:30:00", actualValue);
   }


Mime
View raw message