Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

package org.apache.spark.scheduler.cluster.mesos

import java.util.concurrent.TimeUnit

import scala.collection.JavaConverters._
import scala.collection.mutable.ArrayBuffer
import scala.concurrent.duration._
Expand Down Expand Up @@ -55,7 +57,7 @@ class MesosCoarseGrainedSchedulerBackendSuite extends SparkFunSuite

// All 'requests' to the scheduler run immediately on the same thread, so
// demand that all futures have their value available immediately.
implicit override val patienceConfig = PatienceConfig(timeout = 0.seconds)
implicit override val patienceConfig = PatienceConfig(timeout = Duration(0, TimeUnit.SECONDS))

test("mesos supports killing and limiting executors") {
setBackend()
Expand Down