diff --git a/launcher/src/test/java/org/apache/spark/launcher/SparkSubmitCommandBuilderSuite.java b/launcher/src/test/java/org/apache/spark/launcher/SparkSubmitCommandBuilderSuite.java index ffe11bc51b7226dc332841a734f7bb877a3bec27..d4516515557684fe00f7980d6062356e5d2ebfa9 100644 --- a/launcher/src/test/java/org/apache/spark/launcher/SparkSubmitCommandBuilderSuite.java +++ b/launcher/src/test/java/org/apache/spark/launcher/SparkSubmitCommandBuilderSuite.java @@ -67,7 +67,8 @@ public class SparkSubmitCommandBuilderSuite extends BaseSuite { List<String> sparkEmptyArgs = Collections.emptyList(); cmd = buildCommand(sparkEmptyArgs, env); - assertTrue("org.apache.spark.deploy.SparkSubmit should be contained in the final cmd of empty input.", + assertTrue( + "org.apache.spark.deploy.SparkSubmit should be contained in the final cmd of empty input.", cmd.contains("org.apache.spark.deploy.SparkSubmit")); }