Skip to content

Commit

Permalink
fix 2 volatile tests in AbstractURIResolverSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
tribbloid committed Feb 10, 2024
1 parent 97fefd6 commit bd04184
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,15 @@ abstract class AbstractURIResolverSuite extends SparkEnvSpec with FileDocsFixtur
val md = resolver.input(HTML_URL)(_.metadata.all)
md
}
val mds = mdRDD.collect().map {
_.lookup.filterNot(_._1.contains("Space")).map(identity)
}
val mds = mdRDD
.collect()
.map { v =>
v.KVs.raw.filterNot(_._1.contains("Space"))
}
.toList

AssertSerializable(mds.head)
assert(mds.head == mds.last)
assert(mds.distinct.size == 1)
}

it("all accessors can be mutated after creation") {
Expand Down

0 comments on commit bd04184

Please sign in to comment.