From 32cc2b8f1a3561fd922f6a7e662c1617a1871fb3 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 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