diff --git a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/scm/TestXceiverClientMetrics.java b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/scm/TestXceiverClientMetrics.java index a9781b1d44..aa1df4c8f6 100644 --- a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/scm/TestXceiverClientMetrics.java +++ b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/scm/TestXceiverClientMetrics.java @@ -83,8 +83,7 @@ public void testMetrics() throws Exception { .allocateContainer(clientManager.getType(), clientManager.getFactor(), containerOwner); XceiverClientSpi client = clientManager - .acquireClient(container.getPipeline(), - container.getContainerInfo().getContainerID()); + .acquireClient(container.getPipeline()); ContainerCommandRequestProto request = ContainerTestHelper .getCreateContainerRequest(