Skip to content

Commit b8e2a49

Browse files
committed
Add appId to test
1 parent 538f2a3 commit b8e2a49

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/test/scala/org/apache/spark/network/netty/NettyBlockTransferSecuritySuite.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ import org.scalatest.{BeforeAndAfterAll, BeforeAndAfterEach, FunSuite, ShouldMat
3636

3737
class NettyBlockTransferSecuritySuite extends FunSuite with MockitoSugar with ShouldMatchers {
3838
test("security default off") {
39-
testConnection(new SparkConf, new SparkConf) match {
39+
val conf = new SparkConf()
40+
.set("spark.app.id", "app-id")
41+
testConnection(conf, conf) match {
4042
case Success(_) => // expected
4143
case Failure(t) => fail(t)
4244
}

0 commit comments

Comments
 (0)