aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorKay Ousterhout <kayousterhout@gmail.com>2013-12-21 23:28:48 -0800
committerKay Ousterhout <kayousterhout@gmail.com>2013-12-21 23:28:48 -0800
commitb8ae096a40eb0f83aac889deb061a9484effd9aa (patch)
tree66225490c3e1d319e241a8f0351671a2174dc9f4 /core
parent30186aa2648f90d0ad4e312d28e99c9378ea317a (diff)
downloadspark-b8ae096a40eb0f83aac889deb061a9484effd9aa.tar.gz
spark-b8ae096a40eb0f83aac889deb061a9484effd9aa.tar.bz2
spark-b8ae096a40eb0f83aac889deb061a9484effd9aa.zip
Fix build error in test
Diffstat (limited to 'core')
-rw-r--r--core/src/test/scala/org/apache/spark/scheduler/TaskSetManagerSuite.scala2
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))