Github user squito commented on the issue:
https://github.com/apache/spark/pull/17297
@sitalkedia how are you trying to run the test? Works fine for me on my
laptop on master. Note that the test is referencing a var which is only
defined if "spark.testing" is a system property:
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/executor/TaskMetrics.scala#L199
which it is in the sbt and maven build. (maybe doens't work inside an IDE?
I'd strongly just using `~testOnly` with sbt for faster dev iterations if
you're not already)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]