Skip to content

Commit

Permalink
Disable coder stack trace advanced test for 0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Davit committed Nov 22, 2022
1 parent a0fc81a commit ca16d66
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -526,9 +526,10 @@ final class CoderTest extends AnyFlatSpec with Matchers {

val stackTrace = caught.getStackTrace
stackTrace should contain(CoderStackTrace.CoderStackElemMarker)
stackTrace.count(_ == CoderStackTrace.CoderStackElemMarker) shouldBe 1
val materializationStackTrace = stackTrace.dropWhile(_ != CoderStackTrace.CoderStackElemMarker)
materializationStackTrace.map(_.getFileName) should contain("CoderTest.scala")
// fixed in 0.12
// stackTrace.count(_ == CoderStackTrace.CoderStackElemMarker) shouldBe 1
// val materializationStackTrace = stackTrace.dropWhile(_ != CoderStackTrace.CoderStackElemMarker)
// materializationStackTrace.map(_.getFileName) should contain("CoderTest.scala")
}

it should "#1651: remove all anotations from derived coders" in {
Expand Down

0 comments on commit ca16d66

Please sign in to comment.