浏览代码

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

hfutatzhanghb 10 月之前
父节点
当前提交
4b1b16a846

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsDatasetImpl.java

@@ -1173,7 +1173,7 @@ public class TestFsDatasetImpl {
           .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());