[
https://issues.apache.org/jira/browse/SPARK-38619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yang Jie updated SPARK-38619:
-----------------------------
Description:
There are some Junit api usage in scalatest, for example
{code:java}
test("SPARK-31422: getMemoryStatus should not fail after BlockManagerMaster
stops") {
val bmm = new BlockManagerMaster(null, null, new SparkConf, true)
assertTrue(bmm.getMemoryStatus.isEmpty)
} {code}
`assertTrue` is junit api
> Clean up Junit api usage in scalatest
> -------------------------------------
>
> Key: SPARK-38619
> URL: https://issues.apache.org/jira/browse/SPARK-38619
> Project: Spark
> Issue Type: Improvement
> Components: Tests
> Affects Versions: 3.4.0
> Reporter: Yang Jie
> Priority: Minor
>
> There are some Junit api usage in scalatest, for example
>
> {code:java}
> test("SPARK-31422: getMemoryStatus should not fail after BlockManagerMaster
> stops") {
> val bmm = new BlockManagerMaster(null, null, new SparkConf, true)
> assertTrue(bmm.getMemoryStatus.isEmpty)
> } {code}
> `assertTrue` is junit api
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]