Skip to content

Commit 47f49d3

Browse files
committed
NettyBlockTransferService shouldn't care about app ids (it's only b/t executors)
1 parent 258417c commit 47f49d3

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -89,18 +89,6 @@ class NettyBlockTransferSecuritySuite extends FunSuite with MockitoSugar with Sh
8989
}
9090
}
9191

92-
test("security mismatch app ids") {
93-
val conf0 = new SparkConf()
94-
.set("spark.authenticate", "true")
95-
.set("spark.authenticate.secret", "good")
96-
.set("spark.app.id", "app-id")
97-
val conf1 = conf0.clone.set("spark.app.id", "other-id")
98-
testConnection(conf0, conf1) match {
99-
case Success(_) => fail("Should have failed")
100-
case Failure(t) => t.getMessage should include ("SASL appId app-id did not match")
101-
}
102-
}
103-
10492
/**
10593
* Creates two servers with different configurations and sees if they can talk.
10694
* Returns Success() if they can transfer a block, and Failure() if the block transfer was failed

0 commit comments

Comments
 (0)