Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[SPARK-10827] Used variable to clarify what result the test case is c…
…hecking
  • Loading branch information
BryanCutler committed Oct 28, 2015
commit 5e155cc2f43d98f365524ec6bac81bb6206a780e
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,12 @@ class AppClientSuite
}

// Send message to Master to request Executors, verify request by change in executor limit
assert( ci.client.requestTotalExecutors(1) )
val numExecutorsRequested = 1
assert( ci.client.requestTotalExecutors(numExecutorsRequested) )
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: redundant space


eventually(timeout(10.seconds), interval(10.millis)) {
val apps = getApplications()
assert(apps.head.getExecutorLimit === 1, s"executor total request failed")
assert(apps.head.getExecutorLimit === numExecutorsRequested, s"executor request failed")
}

// Send request to kill executor, verify request was made
Expand Down