Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2892,7 +2892,11 @@
<configuration>
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
<junitxml>.</junitxml>
<filereports>SparkTestSuite.txt</filereports>
<!--
without color (W), show all durations (D), show full stack traces (F),
show reminder of failed and canceled tests without stack traces (I)
-->
<filereports>WDFI SparkTestSuite.txt</filereports>
<argLine>-ea -Xmx4g -Xss4m -XX:MaxMetaspaceSize=2g -XX:ReservedCodeCacheSize=${CodeCacheSize} ${extraJavaTestArgs}</argLine>
<stderr/>
<environmentVariables>
Expand Down
10 changes: 8 additions & 2 deletions project/SparkBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1883,8 +1883,14 @@ object TestSettings {
sys.props.get("test.include.tags").map { tags =>
Seq("--include-categories=" + tags)
}.getOrElse(Nil): _*),
// Show full stack trace and duration in test cases.
(Test / testOptions) += Tests.Argument("-oDF"),
// Show full stack trace (F) and duration (D) in test cases.
(Test / testOptions) += Tests.Argument(TestFrameworks.ScalaTest, "-oDF"),
(Test / testOptions) += Tests.Argument(TestFrameworks.ScalaTest,
// Output scala test result to the same location as maven scala test plugin
"-u", s"${baseDirectory.value}/target/surefire-reports",
// without color (W), show all durations (D), show full stack traces (F),
// show reminder of failed and canceled tests without stack traces (I)
"-fWDFI", s"${baseDirectory.value}/target/surefire-reports/SparkTestSuite.txt"),
// Slowpoke notifications: receive notifications every 5 minute of tests that have been running
// longer than two minutes.
(Test / testOptions) += Tests.Argument(TestFrameworks.ScalaTest, "-W", "120", "300"),
Expand Down