Skip to content

Commit

Permalink
Fix BlockManagerReplicationSuite tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Jan 14, 2016
1 parent 2fb8c89 commit 7cad770
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ class BlockManagerReplicationSuite extends SparkFunSuite with Matchers with Befo
}.foreach { testStore =>
val testStoreName = testStore.blockManagerId.executorId
assert(testStore.getLocal(blockId).isDefined, s"$blockId was not found in $testStoreName")
testStore.release(blockId)
assert(master.getLocations(blockId).map(_.executorId).toSet.contains(testStoreName),
s"master does not have status for ${blockId.name} in $testStoreName")

Expand Down

0 comments on commit 7cad770

Please sign in to comment.