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

Flaky Test for TestJsonReader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.7.0
    • 1.7.1
    • None
    • None

    Description

      [INFO] Running org.apache.orc.tools.convert.TestJsonReader
      Error:  Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.12 s <<< FAILURE! - in org.apache.orc.tools.convert.TestJsonReader
      Error:  org.apache.orc.tools.convert.TestJsonReader.testDateTimeTypeSupport  Time elapsed: 0.004 s  <<< ERROR!
      

      Unfortunately I lost the detailed error message from the Jenkins build, but the failure had to do with parsing timestamp strings. I believe the test is using the current time (not a fixed value) and therefore the test has a dependency on WHEN it is ran. I think the issue is when the time of the run is prior to 12PM... example: 2021-07-29T07:32:43

      Needs more investigation.

      Attachments

        Issue Links

          Activity

            People

              Guiyankuang Yiqun Zhang
              belugabehr David Mollitor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: