Github user mateiz commented on the pull request:
https://github.com/apache/spark/pull/181#issuecomment-38107653
@darabos unfortunately testing this is kind of tricky because we need to
create a .jar with a class that is not normally on the classpath. There's some
TestUtils code to create this in
https://github.com/apache/spark/pull/119/files, which compiles a new class.
Maybe we can get for that to get merged. We can also try to create a dummy JAR
through our own build process and find it, but it will be kind of brittle.
Once we have such a JAR, I'd add a test to FileServerSuite that tries to
use those classes in tasks. This is already used to test that addJar ships the
JAR over.
---
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.
---