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 0ae8240376d HDDS-17850. Fix duplicate directory object ID in 
TestOmDBInsightEndPoint (#12082)
0ae8240376d is described below

commit 0ae8240376deb570e8e383a4aace7015770e74e8
Author: Arafat2198 <[email protected]>
AuthorDate: Sun Nov 22 00:11:45 2026 +0530

    HDDS-17850. Fix duplicate directory object ID in TestOmDBInsightEndPoint 
(#12082)
---
 .../org/apache/hadoop/ozone/recon/api/TestOmDBInsightEndPoint.java  | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/hadoop-ozone/recon/src/test/java/org/apache/hadoop/ozone/recon/api/TestOmDBInsightEndPoint.java
 
b/hadoop-ozone/recon/src/test/java/org/apache/hadoop/ozone/recon/api/TestOmDBInsightEndPoint.java
index b8f7b617f8c..8c33e0b3671 100644
--- 
a/hadoop-ozone/recon/src/test/java/org/apache/hadoop/ozone/recon/api/TestOmDBInsightEndPoint.java
+++ 
b/hadoop-ozone/recon/src/test/java/org/apache/hadoop/ozone/recon/api/TestOmDBInsightEndPoint.java
@@ -213,6 +213,8 @@ public class TestOmDBInsightEndPoint extends 
AbstractReconSqlDBTest {
   private static final long EMPTY_OBS_BUCKET_OBJECT_ID = 40L;
   private static final long EMPTY_FSO_BUCKET_OBJECT_ID = 41L;
 
+  private static final long DIR_SEVEN_OBJECT_ID = 42L;
+
   private static final long KEY_ONE_SIZE = 2 * OzoneConsts.KB + 1; // bin 2
   private static final long KEY_TWO_SIZE = 2 * OzoneConsts.KB + 1; // bin 2
   private static final long KEY_THREE_SIZE = OzoneConsts.KB + 1; // bin 1
@@ -819,8 +821,8 @@ private void setUpOmData() throws Exception {
         (DIR_FOUR + OM_KEY_PREFIX + DIR_SEVEN + OM_KEY_PREFIX),
         LEGACY_BUCKET,
         VOLUME_ONE,
-        DIR_FOUR,
-        DIR_FOUR_OBJECT_ID,
+        DIR_SEVEN,
+        DIR_SEVEN_OBJECT_ID,
         PARENT_OBJECT_ID_ZERO,
         LEGACY_BUCKET_OBJECT_ID,
         VOLUME_ONE_OBJECT_ID,


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

Reply via email to