Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-wang committed Sep 19, 2019
1 parent 82740d0 commit d1e744e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class TaskResultGetterSuite extends SparkFunSuite with BeforeAndAfter with Local
val scheduler = new DummyTaskSchedulerImpl(sc)
val spyScheduler = spy(scheduler)
val resultGetter = new TaskResultGetter(sc.env, spyScheduler)
spyScheduler.taskResultGetter = resultGetter
scheduler.taskResultGetter = resultGetter
val myTsm = new TaskSetManager(spyScheduler, FakeTask.createTaskSet(2), 1) {
// always returns false
override def canFetchMoreResults(size: Long): Boolean = false
Expand Down

0 comments on commit d1e744e

Please sign in to comment.