HDFS-17551. Fix unit test failure caused by HDFS-17464. (#6883). Contributed by farmmamba.

This commit is contained in:
hfutatzhanghb 2024-06-13 00:51:15 +08:00 committed by GitHub
parent 06dd3bfee8
commit 4b1b16a846
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1173,7 +1173,7 @@ private void testMoveBlockFailure(Configuration config) {
.getReplicaInfo(block.getBlockPoolId(), newReplicaInfo.getBlockId())
.getGenerationStamp());
LambdaTestUtils.intercept(IOException.class, "Generation Stamp "
+ "should be monotonically increased.",
+ "should be monotonically increased",
() -> fsDataSetImpl.finalizeNewReplica(newReplicaInfo, block));
assertFalse(newReplicaInfo.blockDataExists());