HDFS-17551. Fix unit test failure caused by HDFS-17464. (#6883). Contributed by farmmamba.
This commit is contained in:
parent
06dd3bfee8
commit
4b1b16a846
@ -1173,7 +1173,7 @@ private void testMoveBlockFailure(Configuration config) {
|
|||||||
.getReplicaInfo(block.getBlockPoolId(), newReplicaInfo.getBlockId())
|
.getReplicaInfo(block.getBlockPoolId(), newReplicaInfo.getBlockId())
|
||||||
.getGenerationStamp());
|
.getGenerationStamp());
|
||||||
LambdaTestUtils.intercept(IOException.class, "Generation Stamp "
|
LambdaTestUtils.intercept(IOException.class, "Generation Stamp "
|
||||||
+ "should be monotonically increased.",
|
+ "should be monotonically increased",
|
||||||
() -> fsDataSetImpl.finalizeNewReplica(newReplicaInfo, block));
|
() -> fsDataSetImpl.finalizeNewReplica(newReplicaInfo, block));
|
||||||
assertFalse(newReplicaInfo.blockDataExists());
|
assertFalse(newReplicaInfo.blockDataExists());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user