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 58f74f42cc..d6f30a1328 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 static void setUp() throws Exception { scmServerImpl, serverAddress, 10); testDir = PathUtils.getTestDir(TestEndPoint.class); defaultReportState = StorageContainerDatanodeProtocolProtos.ReportState. - newBuilder().setState(noContainerReports).build(); + newBuilder().setState(noContainerReports).setCount(0).build(); } @Test