You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2025/02/19 17:31:00 UTC

[jira] [Created] (KAFKA-18834) Fix LoggingResourceTest#testSetLevelDefaultScope

Chia-Ping Tsai created KAFKA-18834:
--------------------------------------

             Summary: Fix LoggingResourceTest#testSetLevelDefaultScope
                 Key: KAFKA-18834
                 URL: https://issues.apache.org/jira/browse/KAFKA-18834
             Project: Kafka
          Issue Type: Test
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


the error can be reproduced by following command.
```
./gradlew cleanTest connect:runtime:test --tests LoggersTest.testSetLevelWithValidRootLoggerNames --tests LoggingResourceTest.testSetLevelDefaultScope -PmaxParallelForks=1
```

the root cause is `testSetLevelWithValidRootLoggerNames` change all level to ERROR, so  testSetLevelDefaultScope running subsequently can't see any WARN level log.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)