This is an automated email from the ASF dual-hosted git repository.
chia7712 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 9ee32472817 MINOR: Fix broken javadoc in NetworkClientTest (#18075)
9ee32472817 is described below
commit 9ee32472817a3916409cf1fd1abbdaa6530d3394
Author: TengYao Chi <[email protected]>
AuthorDate: Sat Dec 7 01:37:30 2024 +0800
MINOR: Fix broken javadoc in NetworkClientTest (#18075)
Reviewers: Chia-Ping Tsai <[email protected]>
---
clients/src/test/java/org/apache/kafka/clients/NetworkClientTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/clients/src/test/java/org/apache/kafka/clients/NetworkClientTest.java
b/clients/src/test/java/org/apache/kafka/clients/NetworkClientTest.java
index 691a3d3a482..2ea779702f8 100644
--- a/clients/src/test/java/org/apache/kafka/clients/NetworkClientTest.java
+++ b/clients/src/test/java/org/apache/kafka/clients/NetworkClientTest.java
@@ -596,14 +596,14 @@ public class NetworkClientTest {
/**
* This is a helper method that will execute two produce calls. The first
call is expected to work and the
* second produce call is intentionally made to emulate a request timeout.
In the case that a timeout occurs
- * during a request, we want to ensure that we {@link
Metadata#requestUpdate() request a metadata update} so that
+ * during a request, we want to ensure that we {@link
Metadata#requestUpdate(boolean) request a metadata update} so that
* on a subsequent invocation of {@link NetworkClient#poll(long, long)
poll}, the metadata request will be sent.
*
* <p/>
*
* The {@link MetadataUpdater} has a specific method to handle
* {@link
NetworkClient.DefaultMetadataUpdater#handleServerDisconnect(long, String,
Optional) server disconnects}
- * which is where we {@link Metadata#requestUpdate() request a metadata
update}. This test helper method ensures
+ * which is where we {@link Metadata#requestUpdate(boolean) request a
metadata update}. This test helper method ensures
* that is invoked by checking {@link Metadata#updateRequested()} after
the simulated timeout.
*
* @param requestTimeoutMs Timeout in ms