Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spark 3.4.4 and Scala 2.13.10 - Failed tests: io.projectglow.transformers.splitmultiallelics.VariantSplitterSuit #734

Open
snowch opened this issue Jan 10, 2025 · 0 comments

Comments

@snowch
Copy link

snowch commented Jan 10, 2025

How to fix this on main branch?

export SPARK_VERSION=3.4.4
export SCALA_VERSION=2.13.10
sbt core/test
[info] VariantSplitterSuite:
[info] - test splitVariants
[info] - test splitInfoFields
[info] - split only specified info fields *** FAILED ***
[info]   java.lang.ClassCastException: class scala.collection.mutable.ArraySeq$ofRef cannot be cast to class scala.collection.immutable.Seq (scala.collection.mutable.ArraySeq$ofRef and scala.collection.immutable.Seq are in unnamed module of loader 'app')
[info]   at io.projectglow.transformers.splitmultiallelics.VariantSplitterSuite.$anonfun$new$15(VariantSplitterSuite.scala:213)
[info]   at scala.collection.ArrayOps$.foreach$extension(ArrayOps.scala:1321)
[info]   at io.projectglow.transformers.splitmultiallelics.VariantSplitterSuite.$anonfun$new$12(VariantSplitterSuite.scala:209)
[info]   at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
[info]   at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
[info]   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
[info]   at org.scalatest.Transformer.apply(Transformer.scala:22)
[info]   at org.scalatest.Transformer.apply(Transformer.scala:20)
[info]   at org.scalatest.funsuite.AnyFunSuiteLike$$anon$1.apply(AnyFunSuiteLike.scala:226)
[info]   at org.apache.spark.SparkFunSuite.withFixture(SparkFunSuite.scala:207)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant