We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7b42cc commit cb69dc5Copy full SHA for cb69dc5
core/src/test/scala/org/apache/spark/deploy/StandaloneDynamicAllocationSuite.scala
@@ -390,12 +390,12 @@ class StandaloneDynamicAllocationSuite
390
var apps = getApplications()
391
assert(apps.head.executors.size === 2)
392
// kill executor 1
393
- assert(killNExecutors(sc, 1))
+ assert(sc.killExecutor(executors.head))
394
apps = getApplications()
395
396
assert(apps.head.getExecutorLimit === 2)
397
- // kill all executors
398
- assert(killAllExecutors(sc)
+ // kill executor 2
+ assert(sc.killExecutor(executors(1)))
399
400
assert(apps.head.executors.size === 1)
401
assert(apps.head.getExecutorLimit === 1)
0 commit comments