dino2895 opened a new pull request, #22854:
URL: https://github.com/apache/kafka/pull/22854

   This PR removes the `storage` module's dependency on the `core` test output.
   
   The remaining usages of `kafka.utils.TestUtils` are replaced by:
   
   - Using empty `Properties` instances in `RemoteLagCopyTest` and 
`RemoteLogManagerTest`, since the required remote log manager properties are 
added by `appendRLMConfig`.
   - Using `org.apache.kafka.test.TestUtils.tempDirectory()` in 
`TieredStorageTestUtils`.
   
   With these usages removed, the following dependency is no longer required:
   
   ```gradle
   testImplementation project(':core').sourceSets.test.output
   ```
   
   The dependency on the `core` main output is retained because the storage 
tests still use broker classes from that module.
   
   ### Testing
   
   ```bash
   ./gradlew :core:clean :storage:clean :storage:test --rerun-tasks 
--no-build-cache
   ```
   
   All storage tests passed.


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