Skip to content

Commit

Permalink
Merge pull request dmlc#1010 from CodingCat/master
Browse files Browse the repository at this point in the history
[jvm-packages] adjust numWorkers for test
  • Loading branch information
CodingCat committed Mar 18, 2016
2 parents a214670 + 14a031a commit 11415f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import ml.dmlc.xgboost4j.scala.{Booster, DMatrix, EvalTrait}
class XGBoostSuite extends FunSuite with BeforeAndAfter {

private implicit var sc: SparkContext = null
private val numWorkers = 4
private val numWorkers = Runtime.getRuntime().availableProcessors()

private class EvalError extends EvalTrait {

Expand Down

0 comments on commit 11415f2

Please sign in to comment.