hddong commented on a change in pull request #25389: [SPARK-28657][CORE] Fix
currentContext Instance failed sometimes
URL: https://github.com/apache/spark/pull/25389#discussion_r321563097
##########
File path: core/src/test/scala/org/apache/spark/util/UtilsSuite.scala
##########
@@ -924,6 +926,24 @@ class UtilsSuite extends SparkFunSuite with
ResetSystemProperties with Logging {
}
}
+ test("test class ClassCastException") {
Review comment:
> Yes, but you're not testing anything in Spark, so I don't think this is
useful. You're just copying the same code and asserting that it actually still
fails before the change.
>
> Existing tests don't catch this case?
Yes, please review the new change, and I will delete this test. I just want
to show you that it's always thrown exception.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]