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

Integration tests will not work with exclude/include tags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.1
    • 2.4.0
    • Kubernetes, Spark Core
    • None

    Description

      I tried to exclude some tests when adding mine and I got errors of the form:

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 6.798 s
      [INFO] Finished at: 2018-07-01T18:34:13+03:00
      [INFO] Final Memory: 36M/652M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project spark-kubernetes-integration-tests_2.11: There are test failures.
      [ERROR]
      [ERROR] Please refer to /home/stavros/Desktop/workspace/OSS/spark/resource-managers/kubernetes/integration-tests/target/surefire-reports for the individual test results.
      [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
      [ERROR] There was an error in the forked process
      [ERROR] Unable to load category: noDcos

       

      This will not happen if maven surfire plugin is disabled as stated here: http://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin

      I will create a PR shortly.

      Attachments

        Activity

          People

            skonto Stavros Kontopoulos
            skonto Stavros Kontopoulos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: