Skip to content

Commit

Permalink
Fix Java test
Browse files Browse the repository at this point in the history
  • Loading branch information
sryza committed Sep 8, 2014
1 parent c04b447 commit 4a5332a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/test/java/org/apache/spark/JavaAPISuite.java
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public int numPartitions() {
return 2;
}
public int getPartition(Object key) {
return ((Integer)key).intValue();
return ((Integer)key).intValue() % 2;
}
};

Expand Down

0 comments on commit 4a5332a

Please sign in to comment.