Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Commit 6a1c50d

Browse files
committed
[SPARK-6980] Minor cleanup of test case
1 parent 7f4d78e commit 6a1c50d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/scala/org/apache/spark/rpc/RpcEnvSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ abstract class RpcEnvSuite extends SparkFunSuite with BeforeAndAfterAll {
169169
// The SparkException cause should be a RpcTimeoutException with message indicating the
170170
// controlling timeout property
171171
assert(e.getCause.isInstanceOf[RpcTimeoutException])
172-
assert(e.getCause().getMessage().contains(shortProp))
172+
assert(e.getCause.getMessage.contains(shortProp))
173173
} finally {
174174
anotherEnv.shutdown()
175175
anotherEnv.awaitTermination()

0 commit comments

Comments
 (0)