Github user jerryshao commented on a diff in the pull request:
https://github.com/apache/spark/pull/3438#discussion_r28223321
--- Diff: core/src/test/scala/org/apache/spark/rdd/RDDSuite.scala ---
@@ -726,8 +725,8 @@ class RDDSuite extends FunSuite with SharedSparkContext
{
val repartitioned =
data.repartitionAndSortWithinPartitions(partitioner)
val partitions = repartitioned.glom().collect()
- assert(partitions(0) === Seq((0, 5), (0, 8), (2, 6)))
- assert(partitions(1) === Seq((1, 3), (3, 8), (3, 8)))
+ assert(partitions(0).toSet === Set((0, 5), (0, 8), (2, 6)))
+ assert(partitions(1).toSet === Set((1, 3), (3, 8), (3, 8)))
--- End diff --
Yeah, this is a problem. I will figure out a better way to test it.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]