Closed piyushnarang closed 7 years ago
👍
Thanks @johnynek, I noticed another test failure due to a slightly different error:
1) FeedbackSnapshotPipe should return empty when input is not serialized correctly(com.twitter.b2c.analytics.pipes.FeedbackSnapshotPipeSpec)
scala.reflect.internal.Symbols$CyclicReference: illegal cyclic reference involving object InterfaceAudience
That seems to be of type Throwable. I'm going to update the PR to just catch throwable.
The second error seems to be a scala bug: https://issues.scala-lang.org/browse/SI-10129.
@fwbrasil - updated, please take a look.
While trying out the new Scalding release internally, noticed we have some unit test failures due to the
findReferencedClasses
method throwing the following exception:java.lang.RuntimeException: error reading Scala signature of com.twitter.testpackage.MyTest: error reading Scala signature of org.scalatest.mock.package: assertion failed: unsafe symbol JMockCycle (child of <none>) in runtime reflection universe.
Doesn't seem like the test is directly referencing the JMockCycle (seems to be mixing in MockitoSugar). Adding a dependency on org.jmock seems to work around the issue, but it seems like it would be nice to catch exceptions thrown in this method and not fail the job / test.Exception: