LocatedBlocks lb = nn.getBlockLocations(src, 256, 257);
LocatedBlock lb1 = nn.addBlockAndFetchMetaInfo(src, dfsclient.clientName,
null, null, 512L, lb.getLocatedBlocks().get(lb.locatedBlockCount() - 1)
.getBlock());
LocatedBlock lb2 = nn.addBlockAndFetchMetaInfo(src, dfsclient.clientName,
null, null, 512L, lb.getLocatedBlocks().get(lb.locatedBlockCount() - 1)
.getBlock());
TestCase.assertTrue("blocks: " + lb1.getBlock() + " and " + lb2.getBlock(),
lb1.getBlock().equals(lb2.getBlock()));
}