apalan60 commented on PR #19920:
URL: https://github.com/apache/kafka/pull/19920#issuecomment-2952528907
Verified that this change resolves the issue by running the following
command:
```bash
./gradlew cleanTest \
connect:runtime:test \
--tests LoggersTest.testSetLevelWithValidRootLoggerNames \
--tests LoggingResourceTest.testSetLevelDefaultScope \
-PmaxParallelForks=1
```
Both tests passed successfully:
`LoggersTest#testSetLevelWithValidRootLoggerNames`
`LoggingResourceTest#testSetLevelDefaultScope`
<details>
<summary>Test Results</summary>
```bash
kafka on KAFKA-18834-Fix-LoggingResourceTest#testSetLevelDefaultScope-
[$!] …
➜ ./gradlew cleanTest \
connect:runtime:test \
--tests LoggersTest.testSetLevelWithValidRootLoggerNames \
--tests LoggingResourceTest.testSetLevelDefaultScope \
-PmaxParallelForks=1 \
> Configure project :
Starting build with version 4.1.0-SNAPSHOT (commit id 82ea9d0f) using
Gradle 8.14.1, Java 21 and Scala 2.13.16
Build properties: ignoreFailures=false, maxParallelForks=1,
maxScalacThreads=8, maxTestRetries=0
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for
boot loader classes because bootstrap classpath has been appended
> Task :connect:runtime:test
Gradle Test Run :connect:runtime:test > Gradle Test Executor 19 >
LoggersTest > testSetLevelWithValidRootLoggerNames() PASSED
Gradle Test Run :connect:runtime:test > Gradle Test Executor 19 >
LoggingResourceTest > testSetLevelDefaultScope() PASSED
BUILD SUCCESSFUL in 2s
153 actionable tasks: 2 executed, 151 up-to-date
```
--
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]