This is an automated email from the ASF dual-hosted git repository.
xyao pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 650c4ce HDDS-2053. Fix TestOzoneManagerRatisServer failure.
Contributed by Xiaoyu Yao. (#1373)
650c4ce is described below
commit 650c4cead5d5465921a8bbd4d6294f515f958169
Author: Xiaoyu Yao <[email protected]>
AuthorDate: Mon Sep 9 15:38:11 2019 -0700
HDDS-2053. Fix TestOzoneManagerRatisServer failure. Contributed by Xiaoyu
Yao. (#1373)
---
.../org/apache/hadoop/ozone/om/ratis/TestOzoneManagerRatisServer.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/ratis/TestOzoneManagerRatisServer.java
b/hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/ratis/TestOzoneManagerRatisServer.java
index d613d99..68649eb 100644
---
a/hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/ratis/TestOzoneManagerRatisServer.java
+++
b/hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/ratis/TestOzoneManagerRatisServer.java
@@ -205,6 +205,7 @@ public class TestOzoneManagerRatisServer {
.setOMServiceId(customOmServiceId)
.build();
// Starts a single node Ratis server
+ omRatisServer.stop();
OzoneManagerRatisServer newOmRatisServer = OzoneManagerRatisServer
.newOMRatisServer(newConf, ozoneManager, nodeDetails,
Collections.emptyList());
@@ -219,6 +220,7 @@ public class TestOzoneManagerRatisServer {
RaftGroupId raftGroupId = newOmRatisServer.getRaftGroup().getGroupId();
Assert.assertEquals(uuid, raftGroupId.getUuid());
Assert.assertEquals(raftGroupId.toByteString().size(), 16);
+ newOmRatisServer.stop();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]