[ 
https://issues.apache.org/jira/browse/ORC-327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16414450#comment-16414450
 ] 

ASF GitHub Bot commented on ORC-327:
------------------------------------

GitHub user omalley opened a pull request:

    https://github.com/apache/orc/pull/236

    ORC-327. Fix java unit test cases to pass when -Duser.timezone is set.

    It moves the SimpleDateFormat constructor, which stores the timezone, into 
the place where the timezone is controlled.
    
    It also sets the testOldTimestamp to explicitly use America/Los_Angeles.
    
    Finally, it uses string dates instead of longs in TestFileDump.testDataDump.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/omalley/orc orc-327

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/orc/pull/236.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #236
    
----

----


> Fix java test cases to run correctly in other timezones.
> --------------------------------------------------------
>
>                 Key: ORC-327
>                 URL: https://issues.apache.org/jira/browse/ORC-327
>             Project: ORC
>          Issue Type: Bug
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>            Priority: Major
>
> We've let some test cases slip in that break when we set other timezones like:
> {code}
> JAVA_TOOL_OPTIONS=-Duser.timezone=Europe/Sofia
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to