Skip to content

Commit

Permalink
[SPARK-6980] Minor cleanup of test case
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanCutler committed Jun 27, 2015
1 parent 7f4d78e commit 6a1c50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/test/scala/org/apache/spark/rpc/RpcEnvSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ abstract class RpcEnvSuite extends SparkFunSuite with BeforeAndAfterAll {
// The SparkException cause should be a RpcTimeoutException with message indicating the
// controlling timeout property
assert(e.getCause.isInstanceOf[RpcTimeoutException])
assert(e.getCause().getMessage().contains(shortProp))
assert(e.getCause.getMessage.contains(shortProp))
} finally {
anotherEnv.shutdown()
anotherEnv.awaitTermination()
Expand Down

0 comments on commit 6a1c50d

Please sign in to comment.