diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsDatasetImpl.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsDatasetImpl.java index dd85ab6328c9c..975874edb1fc0 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsDatasetImpl.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/TestFsDatasetImpl.java @@ -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());