priyeshkaratha commented on code in PR #12170:
URL: https://github.com/apache/ozone/pull/12170#discussion_r4779185004


##########
hadoop-ozone/common/src/test/java/org/apache/hadoop/ozone/om/helpers/TestOmLifeCycleConfiguration.java:
##########
@@ -307,4 +311,53 @@ private OmLifecycleConfiguration.Builder 
configurationWithFilter(OmLCFilter filt
         .build();
     return getOmLifecycleConfiguration("volume", "bucket", 
Collections.singletonList(rule));
   }
+
+  @Test
+  public void testGetExpiration() throws OMException {
+    long modificationTime = 
Instant.parse("2026-11-25T10:30:00Z").toEpochMilli();
+    OmLifecycleConfiguration lcc = getOmLifecycleConfiguration("volume", 
"bucket", Arrays.asList(
+        getOmLCRuleBuilder("late", "", true, 10, null).build(),

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to