hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aengin...@apache.org
Subject hadoop git commit: HDFS-11509. Ozone: Fix TestEndpoint test regression. Contributed by Anu Engineer.
Date Wed, 08 Mar 2017 06:38:27 GMT
Repository: hadoop
Updated Branches:
  refs/heads/HDFS-7240 f0f4c3e7e -> dac2b9e7d


HDFS-11509. Ozone: Fix TestEndpoint test regression. Contributed by Anu Engineer.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/dac2b9e7
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/dac2b9e7
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/dac2b9e7

Branch: refs/heads/HDFS-7240
Commit: dac2b9e7d90c7b480f188a7e5a95360139f2b299
Parents: f0f4c3e
Author: Anu Engineer <aengineer@apache.org>
Authored: Tue Mar 7 22:38:11 2017 -0800
Committer: Anu Engineer <aengineer@apache.org>
Committed: Tue Mar 7 22:38:11 2017 -0800

----------------------------------------------------------------------
 .../org/apache/hadoop/ozone/container/common/TestEndPoint.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/dac2b9e7/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/container/common/TestEndPoint.java
----------------------------------------------------------------------
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 58f74f4..d6f30a1 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


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message