Skip to content

Commit

Permalink
Use a local[2] mode inside a TestEnvironment to occupy all Travis cor…
Browse files Browse the repository at this point in the history
…es and to parallelize better on Spark
  • Loading branch information
pomadchin committed Oct 22, 2018
1 parent c3a8996 commit fb66e21
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -55,7 +55,7 @@ trait TestEnvironment extends BeforeAndAfterAll
{ self: Suite with BeforeAndAfterAll =>

/** Subclasses can override this to change the Spark master specification */
def sparkMaster = "local"
def sparkMaster = "local[2]"

private lazy val afterAlls = mutable.ListBuffer[() => Unit]()
def registerAfterAll(f: () => Unit): Unit =
Expand Down

0 comments on commit fb66e21

Please sign in to comment.