Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4578#discussion_r24640453
  
    --- Diff: 
core/src/test/scala/org/apache/spark/scheduler/mesos/MesosSchedulerBackendSuite.scala
 ---
    @@ -17,45 +17,48 @@
     
     package org.apache.spark.scheduler.mesos
     
    -import org.apache.spark.executor.MesosExecutorBackend
    -import org.scalatest.FunSuite
    -import org.apache.spark.{SparkConf, SparkContext, LocalSparkContext}
    -import org.apache.spark.scheduler.{SparkListenerExecutorAdded, 
LiveListenerBus,
    -  TaskDescription, WorkerOffer, TaskSchedulerImpl}
    -import org.apache.spark.scheduler.cluster.ExecutorInfo
    -import org.apache.spark.scheduler.cluster.mesos.{MemoryUtils, 
MesosSchedulerBackend}
    -import org.apache.mesos.SchedulerDriver
    -import org.apache.mesos.Protos.{ExecutorInfo => MesosExecutorInfo, _}
    -import org.apache.mesos.Protos.Value.Scalar
    -import org.easymock.{Capture, EasyMock}
     import java.nio.ByteBuffer
     import java.util.Collections
     import java.util
    -import org.scalatest.mock.EasyMockSugar
     
     import scala.collection.mutable
     import scala.collection.mutable.ArrayBuffer
     
    -class MesosSchedulerBackendSuite extends FunSuite with LocalSparkContext 
with EasyMockSugar {
    +import org.apache.mesos.SchedulerDriver
    +import org.apache.mesos.Protos._
    +import org.apache.mesos.Protos.Value.Scalar
    +import org.scalatest.FunSuite
    +import org.scalatest.mock.MockitoSugar
    +import org.mockito.Mockito._
    +import org.mockito.Matchers._
    +import org.mockito.{Matchers, ArgumentCaptor}
    --- End diff --
    
    can you reorganize this?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to