You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/04/10 02:47:13 UTC
[GitHub] [spark] srowen commented on a change in pull request #28174:
[SPARK-18886][CORE][TESTS][FOLLOWUP] Fix a test failure due to
InvalidUseOfMatchersException
srowen commented on a change in pull request #28174: [SPARK-18886][CORE][TESTS][FOLLOWUP] Fix a test failure due to InvalidUseOfMatchersException
URL: https://github.com/apache/spark/pull/28174#discussion_r406577980
##########
File path: core/src/test/scala/org/apache/spark/scheduler/CoarseGrainedSchedulerBackendSuite.scala
##########
@@ -260,7 +260,7 @@ class CoarseGrainedSchedulerBackendSuite extends SparkFunSuite with LocalSparkCo
// To avoid allocating any resources immediately after releasing the resource from the task to
// make sure that `availableAddrs` below won't change
- when(ts.resourceOffers(any[IndexedSeq[WorkerOffer]])).thenReturn(Seq.empty)
+ when(ts.resourceOffers(any[IndexedSeq[WorkerOffer]], any[Boolean])).thenReturn(Seq.empty)
Review comment:
Does it just affect master? OK in any event if it fixes a test.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org