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

PrefixComparatorsSuite's "String prefix comparator" failed when both input strings are empty strings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • SQL, Tests
    • None

    Description

      https://amplab.cs.berkeley.edu/jenkins/job/spark-master-test-sbt-hadoop-2.4/1620/testReport/junit/org.apache.spark.util.collection.unsafe.sort/PrefixComparatorsSuite/String_prefix_comparator/

      org.scalatest.exceptions.GeneratorDrivenPropertyCheckFailedException: TestFailedException was thrown during property evaluation.   Message: 0 equaled 0, but 1 did not equal 0, and 0 was not less than 0, and 0 was not greater than 0   Location: (PrefixComparatorsSuite.scala:42)   Occurred when passed generated values (     arg0 = "",     arg1 = ""   )
      

      I could not reproduce it locally. But, let me add this case in the regressionTests to explicitly test it.

      Attachments

        Activity

          People

            yhuai Yin Huai
            yhuai Yin Huai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: