[ 
https://issues.apache.org/jira/browse/SPARK-21825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen resolved SPARK-21825.
-------------------------------
    Resolution: Not A Problem

> improving  "assert(exchanges.map(_.outputPartitioning.numPartitions)" in 
> ExchangeCoordinatorSuite
> -------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-21825
>                 URL: https://issues.apache.org/jira/browse/SPARK-21825
>             Project: Spark
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: 2.3.0
>            Reporter: iamhumanbeing
>            Priority: Trivial
>
> ExchangeCoordinatorSuite.scala
> Line 424: assert(exchanges.map(_.outputPartitioning.numPartitions).toSet === 
> Set(2, 3)) is not so precisely.
> change to 
>  assert(exchanges.map(_.outputPartitioning.numPartitions).toSeq === Seq(2, 2, 
> 2, 3))
> Line 476:             
> assert(exchanges.map(_.outputPartitioning.numPartitions).toSet === Set(5, 3)) 
> is not so precisely.
> change to 
>             assert(exchanges.map(_.outputPartitioning.numPartitions).toSeq 
> === Seq(5, 3, 5))



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to