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

   ### Which Issue(s) This PR Fixes
   
   Fixes #11568
   
   ### Brief Description
   
   Close the RocksDB topic configuration manager in `@After` while its store 
still exists. JUnit then removes the per-test `TemporaryFolder` and reports a 
cleanup failure if the directory remains. The migration test also checks the 
reopened topic configuration against the JSON source. Its previous assertion 
compared the RocksDB table size with itself.
   
   ### How Did You Test This Change?
   
   Ran `RocksdbTopicConfigTransferTest` on Linux ARM64 with Corretto 8. The 
original teardown logged missing files during RocksDB shutdown. With this 
change, all seven tests passed in each of four runs, with zero skips, no 
missing-file errors during shutdown, and no leftover test directories.
   
   ```sh
   mvn -pl broker -am -Dtest=RocksdbTopicConfigTransferTest 
-Dsurefire.failIfNoSpecifiedTests=false 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: [email protected]

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

Reply via email to