dongjoon-hyun commented on a change in pull request #20640: 
[SPARK-19755][Mesos] Blacklist is always active for 
MesosCoarseGrainedSchedulerBackend
URL: https://github.com/apache/spark/pull/20640#discussion_r328099823
 
 

 ##########
 File path: 
resource-managers/mesos/src/test/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackendSuite.scala
 ##########
 @@ -819,6 +841,7 @@ class MesosCoarseGrainedSchedulerBackendSuite extends 
SparkFunSuite
     taskScheduler = mock[TaskSchedulerImpl]
     when(taskScheduler.nodeBlacklist).thenReturn(Set[String]())
     when(taskScheduler.sc).thenReturn(sc)
+    when(taskScheduler.nodeBlacklist()).thenReturn(Set[String]())
 
 Review comment:
   This seems to be a duplicate of [line 
842](https://github.com/apache/spark/pull/20640/files#diff-74f66a710c02435dedd9ccc581426d69R842).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to