Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-157

Test failed due to timezone DST

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.3.3
    • 1.3.4, 1.4.0
    • tools
    • None

    Description

      To reproduce:
      % mkdir build
      % cd build
      % cmake .. -DBUILD_JAVA=OFF
      % make package
      % make test-out

      Output is:
      [ FAILED ] TestMatchParam/FileParam.Contents/20, where GetParam() = orc_split_elim.orc

      1 FAILED TEST

      Sample line is:
      /storage/progs/src/orc-rel-release-1.3.3/tools/test/TestMatch.cc:149: Failure
      Value of: line
      Actual: "

      {\"userid\": 100, \"string1\": \"zebra\", \"subtype\": 8, \"decimal1\": 0.000000, \"ts\": \"1969-12-31 17:04:10.0\"}

      "
      Expected: expectedLine
      Which is: "

      {\"userid\": 100, \"string1\": \"zebra\", \"subtype\": 8, \"decimal1\": 0.000000, \"ts\": \"1969-12-31 16:04:10.0\"}

      "
      wrong output at row 24999

      so ts: 1 hour difference

      I am at Ukraine (GMT+2 + DST). I could suppose, that as our DST change is at the end of march (while US changes in the beginning of March AFAIK) - something wrong with timestamp with timezone interpretation in this test - and probably after Ukraine moves to DST - effect will disappear.
      So there is 2 weeks windows when this test could FAIL

      Attachments

        1. CMakeError.log
          5 kB
          Andrey Morskoy
        2. CMakeOutput.log
          59 kB
          Andrey Morskoy

        Issue Links

          Activity

            People

              omalley Owen O'Malley
              amorskoy Andrey Morskoy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: