srowen commented on a change in pull request #23416: [SPARK-26463][CORE] Use
ConfigEntry for hardcoded configs for scheduler categories.
URL: https://github.com/apache/spark/pull/23416#discussion_r249286288
##########
File path: core/src/test/scala/org/apache/spark/JobCancellationSuite.scala
##########
@@ -72,7 +73,7 @@ class JobCancellationSuite extends SparkFunSuite with
Matchers with BeforeAndAft
}
test("cluster mode, FIFO scheduler") {
- val conf = new SparkConf().set("spark.scheduler.mode", "FIFO")
+ val conf = new SparkConf().set(SCHEDULER_MODE, "FIFO")
Review comment:
Do you want to use `SchedulingMode.FIFO.toString` in cases like this? no big
deal, it doesn't matter much
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]