You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "majialoong (via GitHub)" <gi...@apache.org> on 2025/11/10 17:16:32 UTC

[PR] [ISSUE #9832] Cleanup test directories in some RocksDB unit tests [rocketmq]

majialoong opened a new pull request, #9833:
URL: https://github.com/apache/rocketmq/pull/9833

   <!-- Please make sure the target branch is right. In most case, the target branch should be `develop`. -->
   
   ### Which Issue(s) This PR Fixes
   
   <!-- Please ensure that the related issue has already been created, and [link this pull request to that issue using keywords](<https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword>) to ensure automatic closure. -->
   
   Fixes #9832
   
   ### Brief Description
   
   Clean up test directories in some RocksDB unit tests
   
   ### How Did You Test This Change?
   
   unit test and local test
   


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ISSUE #9832] Cleanup test directories in some RocksDB unit tests [rocketmq]

Posted by "majialoong (via GitHub)" <gi...@apache.org>.
majialoong commented on PR #9833:
URL: https://github.com/apache/rocketmq/pull/9833#issuecomment-4999309546

   Closing this PR. This was initially meant to address test stability, but this type of issue can be tracked and followed up in #10373 .


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ISSUE #9832] Cleanup test directories in some RocksDB unit tests [rocketmq]

Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #9833:
URL: https://github.com/apache/rocketmq/pull/9833#issuecomment-3513143075

   ## [Codecov](https://app.codecov.io/gh/apache/rocketmq/pull/9833?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
   :white_check_mark: All modified and coverable lines are covered by tests.
   :white_check_mark: Project coverage is 48.26%. Comparing base ([`29a62c4`](https://app.codecov.io/gh/apache/rocketmq/commit/29a62c46c97f2b9d2cc69a75066ea42304579593?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`7805a77`](https://app.codecov.io/gh/apache/rocketmq/commit/7805a772ec7fbd73240fe52e9401cabec5c8ce26?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   ```diff
   @@              Coverage Diff              @@
   ##             develop    #9833      +/-   ##
   =============================================
   - Coverage      48.35%   48.26%   -0.09%     
   + Complexity     12258    12234      -24     
   =============================================
     Files           1314     1314              
     Lines          93776    93776              
     Branches       12034    12034              
   =============================================
   - Hits           45347    45263      -84     
   - Misses         42822    42899      +77     
   - Partials        5607     5614       +7     
   ```
   </details>
   
   [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/apache/rocketmq/pull/9833?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).   
   :loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
   </details>


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ISSUE #9832] Cleanup test directories in some RocksDB unit tests [rocketmq]

Posted by "majialoong (via GitHub)" <gi...@apache.org>.
majialoong commented on code in PR #9833:
URL: https://github.com/apache/rocketmq/pull/9833#discussion_r2514310257


##########
broker/src/test/java/org/apache/rocketmq/broker/pop/PopConsumerServiceTest.java:
##########
@@ -112,6 +112,9 @@ public void init() throws IOException {
 
     @After
     public void shutdown() throws IOException {
+        if (consumerService != null) {
+            consumerService.shutdown();

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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ISSUE #9832] Cleanup test directories in some RocksDB unit tests [rocketmq]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins commented on code in PR #9833:
URL: https://github.com/apache/rocketmq/pull/9833#discussion_r2512946063


##########
broker/src/test/java/org/apache/rocketmq/broker/pop/PopConsumerServiceTest.java:
##########
@@ -112,6 +112,9 @@ public void init() throws IOException {
 
     @After
     public void shutdown() throws IOException {
+        if (consumerService != null) {
+            consumerService.shutdown();

Review Comment:
   用例里面已经 shutdown 过了



-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ISSUE #9832] Cleanup test directories in some RocksDB unit tests [rocketmq]

Posted by "majialoong (via GitHub)" <gi...@apache.org>.
majialoong closed pull request #9833: [ISSUE #9832] Cleanup test directories in some RocksDB unit tests
URL: https://github.com/apache/rocketmq/pull/9833


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org