afterincomparableyum commented on code in PR #3737:
URL: https://github.com/apache/celeborn/pull/3737#discussion_r3432921360
##########
tests/spark-it/src/test/scala/org/apache/celeborn/tests/spark/CelebornHashCheckDiskSuite.scala:
##########
@@ -43,13 +43,21 @@ class CelebornHashCheckDiskSuite extends SparkTestBase {
}
override def beforeEach(): Unit = {
- ShuffleClient.reset()
+ resetSparkState()
}
override def afterEach(): Unit = {
+ resetSparkState()
System.gc()
}
+ private def resetSparkState(): Unit = {
+
SparkSession.getActiveSession.orElse(SparkSession.getDefaultSession).foreach(_.stop())
Review Comment:
prefer to keep as is.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]