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

   ### Which Issue(s) This PR Fixes
   
   - Fixes #9623
   
   ### Brief Description
   
   `MessageStoreWithFilterTest` reuses a fixed store directory, so a previous 
test's files can affect subsequent tests when cleanup fails. Give each test an 
assured-deletion `TemporaryFolder`, use an ephemeral HA port, release retrieved 
message buffers, and close the store and statistics manager even when 
initialization or teardown fails. A failed store load now fails the test 
consistently on Windows as well.
   
   ### How Did You Test This Change?
   
   - All 3 `MessageStoreWithFilterTest` cases passed on macOS ARM64 with Zulu 
JDK 21, including temporary-directory deletion.
   - Maven's configured Checkstyle/SpotBugs checks and `git diff --check` 
passed.
   - Local JDK 21 execution used JaCoCo 0.8.12, Javassist 3.30.2-GA, Byte Buddy 
experimental support and JDK module opens. No build configuration changes are 
included.
   - Windows execution remains unverified; the reported Windows scenario was 
addressed through fixture isolation and resource cleanup.
   


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