Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-2186

TestResultSet.testDateTimeType fails in UTC timezone

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Linux, Mac OS X

      Description

      Please see this travis log. TestResultSet.testDateTimeType failed. I looked into this issue. I found that this test fails if the timezone is UTC. You can reproduce as follows:

      $ cd tajo-jdbc
      $ export TZ=UTC
      $ mvn test
      ...
      2017-12-03 10:05:09,386 INFO: org.apache.tajo.catalog.store.DerbyStore (shutdown(75)) - Shutdown database
      
      Results :
      
      Failed tests: 
        TestResultSet.testDateTimeType:243 expected: java.sql.Time<23:00:00> but was: java.sql.Time<23:00:00>
      
      

        Attachments

          Activity

            People

            • Assignee:
              jhkim Jinho Kim
              Reporter:
              hyunsik Hyunsik Choi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: