From dac2b9e7d90c7b480f188a7e5a95360139f2b299 Mon Sep 17 00:00:00 2001 From: Anu Engineer Date: Tue, 7 Mar 2017 22:38:11 -0800 Subject: [PATCH] HDFS-11509. Ozone: Fix TestEndpoint test regression. Contributed by Anu Engineer. --- .../org/apache/hadoop/ozone/container/common/TestEndPoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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