You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/07/16 16:40:52 UTC

[GitHub] [spark] gengliangwang commented on a change in pull request #29133: [WIP][SPARK-32253][INFRA] Make readability better in the test result logs

gengliangwang commented on a change in pull request #29133:
URL: https://github.com/apache/spark/pull/29133#discussion_r455923173



##########
File path: project/SparkBuild.scala
##########
@@ -1027,6 +1027,11 @@ object TestSettings {
       }.getOrElse(Nil): _*),
     // Show full stack trace and duration in test cases.
     testOptions in Test += Tests.Argument("-oDF"),
+    // Show only the failed test cases in github action to make the log more readable.
+    testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest,
+      sys.env.get("GITHUB_ACTIONS").map { _ =>
+        Seq("-eNCXEHLOPQMDSF")

Review comment:
       Check https://www.scalatest.org/user_guide/using_the_runner for the options here.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org