[ https://issues.apache.org/jira/browse/KAFKA-5720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16140923#comment-16140923 ]
ASF GitHub Bot commented on KAFKA-5720: --------------------------------------- GitHub user cmccabe opened a pull request: https://github.com/apache/kafka/pull/3731 KAFKA-5720: Fix AdminClientIntegrationTest#testCallInFlightTimeouts * When a call is aborted, that should count as a "try" in the failure log message. * FailureInjectingTimeoutProcessorFactory should fail the first request it is asked about. * testCallTimeouts should expect the first request it makes to fail because of the timeout we injected. * FailureInjectingTimeoutProcessorFactory should track how many failures it has injected, and the test should verify that one has been injected. You can merge this pull request into a Git repository by running: $ git pull https://github.com/cmccabe/kafka KAFKA-5720 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3731.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3731 ---- commit 3749bda7d3ee5d50cbc10081a8d7cbaef30617b3 Author: Colin P. Mccabe <cmcc...@confluent.io> Date: 2017-08-24T23:22:44Z KAFKA-5720: Fix AdminClientIntegrationTest#testCallInFlightTimeouts ---- > In Jenkins, kafka.api.SaslSslAdminClientIntegrationTest failed with > org.apache.kafka.common.errors.TimeoutException > ------------------------------------------------------------------------------------------------------------------- > > Key: KAFKA-5720 > URL: https://issues.apache.org/jira/browse/KAFKA-5720 > Project: Kafka > Issue Type: Bug > Reporter: Colin P. McCabe > Priority: Minor > Fix For: 1.0.0 > > > In Jenkins, kafka.api.SaslSslAdminClientIntegrationTest failed with > org.apache.kafka.common.errors.TimeoutException. > {code} > java.util.concurrent.ExecutionException: > org.apache.kafka.common.errors.TimeoutException: Aborted due to timeout. > at > org.apache.kafka.common.internals.KafkaFutureImpl.wrapAndThrow(KafkaFutureImpl.java:45) > at > org.apache.kafka.common.internals.KafkaFutureImpl.access$000(KafkaFutureImpl.java:32) > at > org.apache.kafka.common.internals.KafkaFutureImpl$SingleWaiter.await(KafkaFutureImpl.java:89) > at > org.apache.kafka.common.internals.KafkaFutureImpl.get(KafkaFutureImpl.java:213) > at > kafka.api.AdminClientIntegrationTest.testCallInFlightTimeouts(AdminClientIntegrationTest.scala:399) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) > at > org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) > at > org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) > at > org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at java.lang.Thread.run(Thread.java:748) > Caused by: org.apache.kafka.common.errors.TimeoutException: Aborted due to > timeout. > {code} > It's unclear whether this was an environment error or test bug. -- This message was sent by Atlassian JIRA (v6.4.14#64029)