Skip to content

Commit

Permalink
Removing trailing space in comment
Browse files Browse the repository at this point in the history
Signed-off-by: mattahrens <[email protected]>
  • Loading branch information
mattahrens committed Nov 13, 2024
1 parent fb93638 commit eebb002
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,8 @@ class AutoTuner(

private def warnNotEnoughMem(minSize: Long): Unit = {
// in the future it would be nice to enhance the error message with a recommendation of size
val msg = "This node/worker configuration is not ideal for using the Spark Rapids \n" +
"Accelerator because it doesn't have enough memory for the executors. \n" +
val msg = "This node/worker configuration is not ideal for using the Spark Rapids\n" +
"Accelerator because it doesn't have enough memory for the executors.\n" +
s"We recommend using nodes/workers with more memory. Need at least ${minSize}MB memory."
appendComment(msg)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ class AutoTunerSuite extends FunSuite with BeforeAndAfterEach with Logging {
// scalastyle:off line.size.limit
val expectedComment =
s"""This node/worker configuration is not ideal for using the Spark Rapids
Accelerator because it doesn't have enough memory for the executors.
We recommend using nodes/workers with more memory. Need at least 7796MB memory.""".stripMargin.replaceAll("\n", "")
Accelerator because it doesn't have enough memory for the executors.
We recommend using nodes/workers with more memory. Need at least 7796MB memory.""".stripMargin.replaceAll("\n", "")
// scalastyle:on line.size.limit
assert(autoTunerOutput.replaceAll("\n", "").contains(expectedComment))
}
Expand Down

0 comments on commit eebb002

Please sign in to comment.