Skip to content
Snippets Groups Projects
Commit d63856c3 authored by Reynold Xin's avatar Reynold Xin
Browse files

Merge pull request #286 from rxin/build

Show full stack trace and time taken in unit tests.
parents 23a9ae6b fc80b2e6
No related branches found
No related tags found
No related merge requests found
...@@ -114,6 +114,9 @@ object SparkBuild extends Build { ...@@ -114,6 +114,9 @@ object SparkBuild extends Build {
fork := true, fork := true,
javaOptions += "-Xmx3g", javaOptions += "-Xmx3g",
// Show full stack trace and duration in test cases.
testOptions in Test += Tests.Argument("-oDF"),
// Only allow one test at a time, even across projects, since they run in the same JVM // Only allow one test at a time, even across projects, since they run in the same JVM
concurrentRestrictions in Global += Tags.limit(Tags.Test, 1), concurrentRestrictions in Global += Tags.limit(Tags.Test, 1),
...@@ -259,7 +262,7 @@ object SparkBuild extends Build { ...@@ -259,7 +262,7 @@ object SparkBuild extends Build {
libraryDependencies <+= scalaVersion(v => "org.scala-lang" % "scala-reflect" % v ) libraryDependencies <+= scalaVersion(v => "org.scala-lang" % "scala-reflect" % v )
) )
def examplesSettings = sharedSettings ++ Seq( def examplesSettings = sharedSettings ++ Seq(
name := "spark-examples", name := "spark-examples",
libraryDependencies ++= Seq( libraryDependencies ++= Seq(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment