Skip to content

Commit

Permalink
Remove unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Oct 15, 2014
1 parent e8e2867 commit c0153a5
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 @@ -1384,7 +1384,7 @@ public void testAsyncActionErrorWrapping() throws Exception {
JavaRDD<Integer> rdd = sc.parallelize(data, 1);
JavaFutureAction<Long> future = rdd.map(new BuggyMapFunction<Integer>()).countAsync();
try {
long count = future.get(2, TimeUnit.SECONDS);
future.get(2, TimeUnit.SECONDS);
Assert.fail("Expected future.get() for failed job to throw ExcecutionException");
} catch (ExecutionException ee) {
Assert.assertTrue(Throwables.getStackTraceAsString(ee).contains("Custom exception!"));
Expand Down

0 comments on commit c0153a5

Please sign in to comment.