gengliangwang commented on a change in pull request #29133:
URL: https://github.com/apache/spark/pull/29133#discussion_r456297892
##########
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:
Here we drop all the following events:
```
N - drop TestStarting events
C - drop TestSucceeded events
X - drop TestIgnored events
E - drop TestPending events
H - drop SuiteStarting events
L - drop SuiteCompleted events
O - drop InfoProvided events
P - drop ScopeOpened events
Q - drop ScopeClosed events
R - drop ScopePending events
M - drop MarkupProvided events
```
and enable the following two mode:
```
D - show all durations
F - show full stack traces
```
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]