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

UtilsSuite "resolveURIs with multiple paths" test always cancelled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.3.0
    • 2.3.0
    • Tests
    • None

    Description

      There's a call to assume in that test that is triggering, and causing the test to print an exception and report itself as "cancelled". It only happens in the last unit test (so coverage is fine, I guess), but still, that seems wrong.

      [info] - resolveURIs with multiple paths !!! CANCELED !!! (15 milliseconds)
      [info]   1 was not greater than 1 (UtilsSuite.scala:491)
      [info]   org.scalatest.exceptions.TestCanceledException:
      [info]   at org.scalatest.Assertions$class.newTestCanceledException(Assertions.scala:531)
      [info]   at org.scalatest.FunSuite.newTestCanceledException(FunSuite.scala:1560)
      [info]   at org.scalatest.Assertions$AssertionsHelper.macroAssume(Assertions.scala:516)
      [info]   at org.apache.spark.util.UtilsSuite$$anonfun$6.assertResolves$2(UtilsSuite.scala:491)
      [info]   at org.apache.spark.util.UtilsSuite$$anonfun$6.apply$mcV$sp(UtilsSuite.scala:512)
      [info]   at org.apache.spark.util.UtilsSuite$$anonfun$6.apply(UtilsSuite.scala:489)
      [info]   at org.apache.spark.util.UtilsSuite$$anonfun$6.apply(UtilsSuite.scala:489)
      

      Attachments

        Activity

          People

            gurwls223 Hyukjin Kwon
            vanzin Marcelo Masiero Vanzin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: