Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0-incubating
    • Component/s: None
    • Labels:
      None

      Description

      Pass time zone into tests launched via maven. If you run tests via, say

      mvn -Duser.timezone=Europe/Moscow test

      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

      [WARNING] The system property user.timezone is configured twice! The property appears in <argLine/> and any of <systemPropertyVariables/>, <systemProperties/> or user property.
      

        Activity

        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/ec4b2907 .
        Hide
        julianhyde Julian Hyde added a comment -

        Resolved in release 1.3.0-incubating (2015-05-30).

        Show
        julianhyde Julian Hyde added a comment - Resolved in release 1.3.0-incubating (2015-05-30).

          People

          • Assignee:
            julianhyde Julian Hyde
            Reporter:
            julianhyde Julian Hyde
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development