sercanCyberVision commented on PR #8569:
URL: https://github.com/apache/hbase/pull/8569#issuecomment-5439903641

   @guluo2016, thank you for reviewing the PR.
   
   I have added a UT for this scenario and ran the full `TestCatalogJanitor` 
test class. All 11 tests passed:
   ```
   [INFO] -------------------------------------------------------
   [INFO]  T E S T S
   [INFO] -------------------------------------------------------
   [INFO] Running org.apache.hadoop.hbase.master.janitor.TestCatalogJanitor
   [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
14.94 s -- in org.apache.hadoop.hbase.master.janitor.TestCatalogJanitor
   [INFO] 
   [INFO] Results:
   [INFO] 
   [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0
   ```
   
   I also verified that the expected log messages are present in the 
corresponding `TestCatalogJanitor-output.txt` file:
   ```
   2026-08-27T09:01:17,319 INFO  [HBase-Test-TestCatalogJanitor-Main-Thread] 
janitor.TestCatalogJanitor(719): First catalog janitor scan started and waiting 
to finish.
   2026-08-27T09:01:17,321 INFO  [HBase-Test-TestCatalogJanitor-Main-Thread] 
janitor.TestCatalogJanitor(723): Second catalog janitor scan attempt returned 
-1.
   2026-08-27T09:01:17,322 INFO  [HBase-Test-TestCatalogJanitor-Main-Thread] 
janitor.TestCatalogJanitor(728): Third catalog janitor scan attempt returned -1.
   ```


-- 
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]

Reply via email to