HDDS-555. RandomKeyGenerator runs not closing the XceiverClient properly(addendum). Contributed by Mukul Kumar Singh.

This commit is contained in:
Xiaoyu Yao 2018-10-12 10:51:50 -07:00
parent e12edb3d8f
commit 07d55292dc

View File

@ -83,8 +83,7 @@ public void testMetrics() throws Exception {
.allocateContainer(clientManager.getType(), clientManager.getFactor(), .allocateContainer(clientManager.getType(), clientManager.getFactor(),
containerOwner); containerOwner);
XceiverClientSpi client = clientManager XceiverClientSpi client = clientManager
.acquireClient(container.getPipeline(), .acquireClient(container.getPipeline());
container.getContainerInfo().getContainerID());
ContainerCommandRequestProto request = ContainerTestHelper ContainerCommandRequestProto request = ContainerTestHelper
.getCreateContainerRequest( .getCreateContainerRequest(