diff options
author | Kay Ousterhout <kayousterhout@gmail.com> | 2013-12-21 23:28:48 -0800 |
---|---|---|
committer | Kay Ousterhout <kayousterhout@gmail.com> | 2013-12-21 23:28:48 -0800 |
commit | b8ae096a40eb0f83aac889deb061a9484effd9aa (patch) | |
tree | 66225490c3e1d319e241a8f0351671a2174dc9f4 | |
parent | 30186aa2648f90d0ad4e312d28e99c9378ea317a (diff) | |
download | spark-b8ae096a40eb0f83aac889deb061a9484effd9aa.tar.gz spark-b8ae096a40eb0f83aac889deb061a9484effd9aa.tar.bz2 spark-b8ae096a40eb0f83aac889deb061a9484effd9aa.zip |
Fix build error in test
-rw-r--r-- | core/src/test/scala/org/apache/spark/scheduler/TaskSetManagerSuite.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/test/scala/org/apache/spark/scheduler/TaskSetManagerSuite.scala b/core/src/test/scala/org/apache/spark/scheduler/TaskSetManagerSuite.scala index 771a64ff6c..3dcb01ae5e 100644 --- a/core/src/test/scala/org/apache/spark/scheduler/TaskSetManagerSuite.scala +++ b/core/src/test/scala/org/apache/spark/scheduler/TaskSetManagerSuite.scala @@ -283,7 +283,7 @@ class TaskSetManagerSuite extends FunSuite with LocalSparkContext with Logging { // Fail the task MAX_TASK_FAILURES times, and check that the task set is aborted // after the last failure. - (1 to manager.MAX_TASK_FAILURES).foreach { index => + (1 to manager.maxTaskFailures).foreach { index => val offerResult = manager.resourceOffer("exec1", "host1", 1, ANY) assert(offerResult != None, "Expect resource offer on iteration %s to return a task".format(index)) |