diff --git a/integration-test/common/src/test/java/org/apache/uniffle/test/CoordinatorGrpcTest.java b/integration-test/common/src/test/java/org/apache/uniffle/test/CoordinatorGrpcTest.java index fc80acf53e..8b0693a626 100644 --- a/integration-test/common/src/test/java/org/apache/uniffle/test/CoordinatorGrpcTest.java +++ b/integration-test/common/src/test/java/org/apache/uniffle/test/CoordinatorGrpcTest.java @@ -326,9 +326,8 @@ public void shuffleServerHeartbeatTest() throws Exception { @Test public void rpcMetricsTest() throws Exception { - double oldValue, newValue; CoordinatorTestUtils.waitForRegister(coordinatorClient, 2); - newValue = + double newValue = coordinators .get(0) .getGrpcMetrics() @@ -341,7 +340,7 @@ public void rpcMetricsTest() throws Exception { RssGetShuffleAssignmentsRequest request = new RssGetShuffleAssignmentsRequest( appId, 1, 10, 4, 1, Sets.newHashSet(Constants.SHUFFLE_SERVER_VERSION)); - oldValue = + double oldValue = coordinators .get(0) .getGrpcMetrics()