This is an automated email from the ASF dual-hosted git repository.
chihsuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new f67717e2710 HDDS-16885. Fix negative DELETE command verification in
TestMoveManager (#11483)
f67717e2710 is described below
commit f67717e2710b95f65342439b365d70ff43b74a5a
Author: Andy Huang <[email protected]>
AuthorDate: Mon Oct 12 21:00:45 2026 +0800
HDDS-16885. Fix negative DELETE command verification in TestMoveManager
(#11483)
---
.../hadoop/hdds/scm/container/balancer/TestMoveManager.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/container/balancer/TestMoveManager.java
b/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/container/balancer/TestMoveManager.java
index 440baa29f13..848a8890b21 100644
---
a/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/container/balancer/TestMoveManager.java
+++
b/hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/container/balancer/TestMoveManager.java
@@ -446,7 +446,7 @@ public void testMoveCompleteSrcNoLongerPresent() throws
Exception {
assertEquals(COMPLETED, finalResult);
verify(replicationManager, times(0))
- .sendDeleteCommand(eq(containerInfo), eq(0), eq(src), eq(true));
+ .sendDeleteCommand(eq(containerInfo), eq(0), eq(src), eq(true),
anyLong());
}
@Test
@@ -462,7 +462,7 @@ public void testMoveCompleteSrcNotHealthy() throws
Exception {
assertEquals(DELETION_FAIL_NODE_UNHEALTHY, finalResult);
verify(replicationManager, times(0))
- .sendDeleteCommand(eq(containerInfo), eq(0), eq(src), eq(true));
+ .sendDeleteCommand(eq(containerInfo), eq(0), eq(src), eq(true),
anyLong());
}
@Test
@@ -480,7 +480,7 @@ public void testMoveCompleteSrcNotInService() throws
Exception {
assertEquals(DELETION_FAIL_NODE_NOT_IN_SERVICE, finalResult);
verify(replicationManager, times(0))
- .sendDeleteCommand(eq(containerInfo), eq(0), eq(src), eq(true));
+ .sendDeleteCommand(eq(containerInfo), eq(0), eq(src), eq(true),
anyLong());
}
@Test
@@ -499,7 +499,7 @@ public void testMoveCompleteFutureReplicasUnhealthy()
throws Exception {
assertEquals(DELETE_FAIL_POLICY, finalResult);
verify(replicationManager, times(0))
- .sendDeleteCommand(eq(containerInfo), eq(0), eq(src), eq(true));
+ .sendDeleteCommand(eq(containerInfo), eq(0), eq(src), eq(true),
anyLong());
}
@Test
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]