Christo Lolov created KAFKA-15427:
-------------------------------------
Summary: Integration tests in TS test harness detect resource leaks
Key: KAFKA-15427
URL: https://issues.apache.org/jira/browse/KAFKA-15427
Project: Kafka
Issue Type: Sub-task
Reporter: Christo Lolov
Assignee: Christo Lolov
Fix For: 3.6.0
The pull request (https://github.com/apache/kafka/pull/14116) for adding the
Tiered Storage test harness uncovered resource leaks as part of the build
([https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-14116/28/testReport/junit/org.apache.kafka.tiered.storage.integration/OffloadAndConsumeFromLeaderTest/Build___JDK_20_and_Scala_2_13___initializationError/)]
This can be reproduced locally by running the following command
```
./gradlew --no-parallel --max-workers 1 -PmaxParallelForks=1 storage:test
--tests org.apache.kafka.server.log.remote.storage.RemoteLogMetadataManagerTest
--tests
org.apache.kafka.tiered.storage.integration.OffloadAndConsumeFromLeaderTest
--rerun
```
The point of this Jira ticket is to find the resource leak and fix it
--
This message was sent by Atlassian Jira
(v8.20.10#820010)