You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/04/26 01:56:38 UTC
[jira] [Resolved] (CALCITE-700) Pass time zone into tests
[ 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)