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

(cherry picked from commit 07d55292dc)
This commit is contained in:
Xiaoyu Yao 2018-10-12 10:51:50 -07:00
parent 4a0e137e04
commit 2cad68b486
1 changed files with 1 additions and 2 deletions

View File

@ -83,8 +83,7 @@ public class TestXceiverClientMetrics {
.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(