Skip to content

Commit

Permalink
Add note on why SparkSubmitSuite needs ResetSystemProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Dec 25, 2014
1 parent 4742a5b commit 4f4031d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ import org.apache.spark.util.{ResetSystemProperties, Utils}
import org.scalatest.FunSuite
import org.scalatest.Matchers

// Note: this suite mixes in ResetSystemProperties because SparkSubmit.main() sets a bunch
// of properties that neeed to be cleared after tests.
class SparkSubmitSuite extends FunSuite with Matchers with ResetSystemProperties {
def beforeAll() {
System.setProperty("spark.testing", "true")
Expand Down

0 comments on commit 4f4031d

Please sign in to comment.