[ 
https://issues.apache.org/jira/browse/CALCITE-700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde resolved CALCITE-700.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0-incubating

Fixed in 
http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/ec4b2907.

> Pass time zone into tests
> -------------------------
>
>                 Key: CALCITE-700
>                 URL: https://issues.apache.org/jira/browse/CALCITE-700
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>             Fix For: 1.3.0-incubating
>
>
> Pass time zone into tests launched via maven. If you run tests via, say
> {code}mvn -Duser.timezone=Europe/Moscow test{code}
> then each of the tests instantiated by surefire in each sub-project will be 
> run in a JVM whose default timezone is Moscow.
> This helps us ensure that JDBC date-time conversions work correctly in all 
> time zones.
> A limitation is that the timezone name must not contain spaces: 
> {{-Duser.timezone=America/Los_Angeles}} works, {{-Duser.timezone=America/Los 
> Angeles}} does not.
> You can safely ignore the warning {code}[WARNING] The system property 
> user.timezone is configured twice! The property appears in <argLine/> and any 
> of <systemPropertyVariables/>, <systemProperties/> or user property.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to