diff options
author | William Benton <willb@redhat.com> | 2014-04-15 10:38:42 -0700 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2014-04-15 10:38:42 -0700 |
commit | 2580a3b1a06188fa97d9440d793c8835ef7384b0 (patch) | |
tree | d2b45665ad83c10a9fd91e22c84eb8823a336b94 /graphx/pom.xml | |
parent | df360917990ad95dde3c8e016ec42507d1566355 (diff) | |
download | spark-2580a3b1a06188fa97d9440d793c8835ef7384b0.tar.gz spark-2580a3b1a06188fa97d9440d793c8835ef7384b0.tar.bz2 spark-2580a3b1a06188fa97d9440d793c8835ef7384b0.zip |
SPARK-1501: Ensure assertions in Graph.apply are asserted.
The Graph.apply test in GraphSuite had some assertions in a closure in
a graph transformation. As a consequence, these assertions never
actually executed. Furthermore, these closures had a reference to
(non-serializable) test harness classes because they called assert(),
which could be a problem if we proactively check closure serializability
in the future.
This commit simply changes the Graph.apply test to collect the graph
triplets so it can assert about each triplet from a map method.
Author: William Benton <willb@redhat.com>
Closes #415 from willb/graphsuite-nop-fix and squashes the following commits:
0b63658 [William Benton] Ensure assertions in Graph.apply are asserted.
Diffstat (limited to 'graphx/pom.xml')
0 files changed, 0 insertions, 0 deletions