ivoson commented on code in PR #36716:
URL: https://github.com/apache/spark/pull/36716#discussion_r906771052


##########
core/src/test/scala/org/apache/spark/LocalSparkContext.scala:
##########
@@ -31,6 +31,8 @@ trait LocalSparkContext extends BeforeAndAfterEach with 
BeforeAndAfterAll { self
 
   override def beforeAll(): Unit = {
     super.beforeAll()
+    // Clear default profile, just in case default profile is not cleaned in 
other suites.
+    ResourceProfile.clearDefaultProfile()

Review Comment:
   Done. After cleaning up default resource profile in 
`KubernetesClusterSchedulerBackendSuite` and `KubernetesExecutorBuilderSuite`, 
all UTs passed. I removed the code here.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to