You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by gw...@apache.org on 2020/05/03 21:04:05 UTC
[kafka] branch trunk updated: MINOR: Annotate
KafkaAdminClientTest.testAlterClientQuotas() with @Test
This is an automated email from the ASF dual-hosted git repository.
gwenshap 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 efa7c0e MINOR: Annotate KafkaAdminClientTest.testAlterClientQuotas() with @Test
efa7c0e is described below
commit efa7c0eb70ad65c957cc241609a0d3d1b38c73c6
Author: Tom Bentley <tb...@redhat.com>
AuthorDate: Sun May 3 14:02:55 2020 -0700
MINOR: Annotate KafkaAdminClientTest.testAlterClientQuotas() with @Test
KafkaAdminClientTest.testAlterClientQuotas() is uncalled. It is clearly intended to be a test method, but lacks `Test`.
Author: Tom Bentley <tb...@redhat.com>
Reviewers: Gwen Shapira, Brian Byrne
Closes #8456 from tombentley/MINOR-annotate-test-method
---
.../test/java/org/apache/kafka/clients/admin/KafkaAdminClientTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/clients/src/test/java/org/apache/kafka/clients/admin/KafkaAdminClientTest.java b/clients/src/test/java/org/apache/kafka/clients/admin/KafkaAdminClientTest.java
index 2510ea7..9bb830b 100644
--- a/clients/src/test/java/org/apache/kafka/clients/admin/KafkaAdminClientTest.java
+++ b/clients/src/test/java/org/apache/kafka/clients/admin/KafkaAdminClientTest.java
@@ -3355,6 +3355,7 @@ public class KafkaAdminClientTest {
ClientQuotaFilterComponent.ofEntityType(ClientQuotaEntity.USER));
}
+ @Test
public void testAlterClientQuotas() throws Exception {
try (AdminClientUnitTestEnv env = mockClientEnv()) {
env.kafkaClient().setNodeApiVersions(NodeApiVersions.create());