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

Suppress ScalaCheck warning -- Unknown ScalaCheck args provided when executing tests using sbt

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Incomplete
    • 2.2.0
    • None
    • Tests

    Description

      While executing tests for DAGScheduler I've noticed the following warning:

      > core/testOnly org.apache.spark.scheduler.DAGSchedulerSuite
      ...
      [info] Warning: Unknown ScalaCheck args provided: -oDF
      

      The reason is due to a bug in ScalaCheck as reported in https://github.com/rickynils/scalacheck/issues/212 and fixed in https://github.com/rickynils/scalacheck/commit/df435a5 that is available in ScalaCheck 1.13.4.

      Spark uses ScalaCheck 1.12.5 which is behind the latest 1.12.6 released on Nov 1 (not to mention 1.13.4).

      Let's get rid of ScalaCheck's warning (and perhaps upgrade ScalaCheck along the way too!).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jlaskowski Jacek Laskowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: