apache/spark — pull request #339 by CodingCat (2014-04-06 22:24:03+00:00)
Title: SPARK-1143: refactor TaskSchedulerImplSuite using taskScheduler.resourceOffer

https://issues.apache.org/jira/browse/SPARK-1143

The current TaskSchedulerImplSuite actually bypasses the scheduling code (mainly resourceOffer())

In this patch, I removed the original dummy ResourceOffer make the test case call taskScheduler.resourceOffer() directly,