You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2017/08/25 07:00:02 UTC
[jira] [Resolved] (SPARK-21825) improving
"assert(exchanges.map(_.outputPartitioning.numPartitions)" in
ExchangeCoordinatorSuite
[ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org