Skip to content

Commit

Permalink
Fix bug in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryshao committed Jan 22, 2015
1 parent 558bdc3 commit e356258
Showing 1 changed file with 0 additions and 5 deletions.
Expand Up @@ -82,11 +82,6 @@ class ReceivedBlockTrackerSuite
receivedBlockTracker.allocateBlocksToBatch(2)
receivedBlockTracker.getBlocksOfBatchAndStream(2, streamId) shouldBe empty

// Verify that batch 2 cannot be allocated again
intercept[SparkException] {
receivedBlockTracker.allocateBlocksToBatch(2)
}

// Verify that older batches cannot be allocated again
intercept[SparkException] {
receivedBlockTracker.allocateBlocksToBatch(1)
Expand Down

0 comments on commit e356258

Please sign in to comment.