Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
tgravescs committed Jun 7, 2019
1 parent 27736c5 commit db953d9
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import org.scalatest.mockito.MockitoSugar

import org.apache.spark._
import org.apache.spark.ResourceUtils._
import org.apache.spark.internal.config._
import org.apache.spark.internal.Logging
import org.apache.spark.internal.config
import org.apache.spark.util.ManualClock
Expand Down Expand Up @@ -1250,8 +1249,8 @@ class TaskSchedulerImplSuite extends SparkFunSuite with LocalSparkContext with B
val taskGpus = 1
val executorGpus = 4
val executorCpus = 4
val gpuTaskResourceID = ResourceID(SPARK_TASK_PREFIX, GPU)
val gpuExecResourceID = ResourceID(SPARK_EXECUTOR_PREFIX, GPU)
val gpuTaskResourceID = ResourceID(config.SPARK_TASK_PREFIX, GPU)
val gpuExecResourceID = ResourceID(config.SPARK_EXECUTOR_PREFIX, GPU)

val taskScheduler = setupScheduler(numCores = executorCpus,
config.CPUS_PER_TASK.key -> taskCpus.toString,
Expand Down

0 comments on commit db953d9

Please sign in to comment.