aboutsummaryrefslogtreecommitdiff
path: root/graphx/pom.xml
diff options
context:
space:
mode:
authorWilliam Benton <willb@redhat.com>2014-04-15 10:38:42 -0700
committerReynold Xin <rxin@apache.org>2014-04-15 10:38:42 -0700
commit2580a3b1a06188fa97d9440d793c8835ef7384b0 (patch)
treed2b45665ad83c10a9fd91e22c84eb8823a336b94 /graphx/pom.xml
parentdf360917990ad95dde3c8e016ec42507d1566355 (diff)
downloadspark-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