Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-24123

Fix a flaky test `DateTimeUtilsSuite.monthsBetween`

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • SQL
    • None

    Description

      *MASTER BRANCH*
      https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-master-test-maven-hadoop-2.6/4810/testReport/org.apache.spark.sql.catalyst.util/DateTimeUtilsSuite/monthsBetween/

      Error Message
      
      3.949596773820191 did not equal 3.9495967741935485
      
      Stacktrace
      
            org.scalatest.exceptions.TestFailedException: 3.949596773820191 did not equal 3.9495967741935485
            at org.scalatest.Assertions$class.newAssertionFailedException(Assertions.scala:528)
            at org.scalatest.FunSuite.newAssertionFailedException(FunSuite.scala:1560)
            at org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:501)
            at org.apache.spark.sql.catalyst.util.DateTimeUtilsSuite$$anonfun$25.apply(DateTimeUtilsSuite.scala:495)
            at org.apache.spark.sql.catalyst.util.DateTimeUtilsSuite$$anonfun$25.apply(DateTimeUtilsSuite.scala:488)
      

      Attachments

        Issue Links

          Activity

            People

              mgaido Marco Gaido
              dongjoon Dongjoon Hyun
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: