diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/container/common/TestEndPoint.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/container/common/TestEndPoint.java index 58f74f42cce..d6f30a13283 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/container/common/TestEndPoint.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/container/common/TestEndPoint.java @@ -92,7 +92,7 @@ public class TestEndPoint { scmServerImpl, serverAddress, 10); testDir = PathUtils.getTestDir(TestEndPoint.class); defaultReportState = StorageContainerDatanodeProtocolProtos.ReportState. - newBuilder().setState(noContainerReports).build(); + newBuilder().setState(noContainerReports).setCount(0).build(); } @Test