This is an automated email from the ASF dual-hosted git repository.
AndrewJSchofield pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 373f4ea5ed1 MINOR: Fix stale test command examples in README (#23069)
373f4ea5ed1 is described below
commit 373f4ea5ed178cd1b8ab7b88e4fe05f72f5a8648
Author: Parker Chang <[email protected]>
AuthorDate: Mon Aug 3 18:51:31 2026 +0900
MINOR: Fix stale test command examples in README (#23069)
Updates the example `./gradlew` test commands in `README.md` and
`AGENTS.md`.
`ProducerFailureHandlingTest` now lives under
`clients:clients-integration-tests` instead of `core:test`, so the old
command no longer works.
Verified locally
- `./gradlew clients:clients-integration-tests:test --tests
org.apache.kafka.clients.producer.ProducerFailureHandlingTest.testCannotSendToInternalTopic`
Reviewers: Ming-Yen Chung <[email protected]>, Andrew Schofield
<[email protected]>
---
AGENTS.md | 2 +-
README.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/AGENTS.md b/AGENTS.md
index 7443ac10415..2347a4c6aa0 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -100,7 +100,7 @@ Module-scoped build:
./gradlew clients:test --tests RequestResponseTest
# Single test method
-./gradlew core:test --tests
kafka.api.ProducerFailureHandlingTest.testCannotSendToInternalTopic
+./gradlew clients:clients-integration-tests:test --tests
org.apache.kafka.clients.producer.ProducerFailureHandlingTest.testCannotSendToInternalTopic
# Coverage (whole project or one module)
./gradlew reportCoverage -PenableTestCoverage=true -Dorg.gradle.parallel=false
diff --git a/README.md b/README.md
index 692edbfdfd7..6f2466768d5 100644
--- a/README.md
+++ b/README.md
@@ -74,8 +74,8 @@ N=500; I=0; while [ $I -lt $N ] && ./gradlew clients:test
--tests RequestRespons
### Running a particular test method within a unit/integration test
```bash
-./gradlew core:test --tests
kafka.api.ProducerFailureHandlingTest.testCannotSendToInternalTopic
./gradlew clients:test --tests
org.apache.kafka.clients.MetadataTest.testTimeToNextUpdate
+./gradlew clients:clients-integration-tests:test --tests
org.apache.kafka.clients.producer.ProducerFailureHandlingTest.testCannotSendToInternalTopic
./gradlew streams:integration-tests:test --tests
org.apache.kafka.streams.integration.RestoreIntegrationTest.shouldRestoreNullRecord
```