This is an automated email from the ASF dual-hosted git repository.

adoroszlai 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 f78754965d HDDS-10973. Fix order of assertion arguments in 
TestContainerStateManagerIntegration (#6766)
f78754965d is described below

commit f78754965dc37a319d6c8eb1ade4a5561119aa18
Author: Raju Balpande <[email protected]>
AuthorDate: Fri Jun 7 02:49:34 2024 +0530

    HDDS-10973. Fix order of assertion arguments in 
TestContainerStateManagerIntegration (#6766)
---
 .../hdds/scm/container/TestContainerStateManagerIntegration.java     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/container/TestContainerStateManagerIntegration.java
 
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/container/TestContainerStateManagerIntegration.java
index df5281e424..071cbda59b 100644
--- 
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/container/TestContainerStateManagerIntegration.java
+++ 
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/container/TestContainerStateManagerIntegration.java
@@ -252,9 +252,8 @@ public class TestContainerStateManagerIntegration {
 
     // make sure pipeline has has numContainerPerOwnerInPipeline number of
     // containers.
-    assertEquals(scm.getPipelineManager()
-            .getNumberOfContainers(container1.getPipeline().getId()),
-        numContainerPerOwnerInPipeline);
+    assertEquals(numContainerPerOwnerInPipeline, scm.getPipelineManager()
+            .getNumberOfContainers(container1.getPipeline().getId()));
     Thread.sleep(5000);
     long threshold = 2000;
     // check the way the block allocations are distributed in the different


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to