Apoorv Mittal created KAFKA-16176:
-------------------------------------
Summary: Flaky test:
testSendToPartitionWithFollowerShutdownShouldNotTimeout –
kafka.api.PlaintextProducerSendTest
Key: KAFKA-16176
URL: https://issues.apache.org/jira/browse/KAFKA-16176
Project: Kafka
Issue Type: Bug
Reporter: Apoorv Mittal
[https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-15190/3/tests/]
{code:java}
Errororg.opentest4j.AssertionFailedError: Consumed 0 records before timeout
instead of the expected 100
recordsStacktraceorg.opentest4j.AssertionFailedError: Consumed 0 records before
timeout instead of the expected 100 records at
app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:38) at
app//org.junit.jupiter.api.Assertions.fail(Assertions.java:134) at
app//kafka.utils.TestUtils$.pollUntilAtLeastNumRecords(TestUtils.scala:1142) at
app//kafka.utils.TestUtils$.consumeRecords(TestUtils.scala:1869) at
app//kafka.api.BaseProducerSendTest.testSendToPartitionWithFollowerShutdownShouldNotTimeout(BaseProducerSendTest.scala:398)
at
[email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) at
[email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
[email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:566) at
app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
at
app//org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at
app//org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at
app//org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at
app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
at
app//org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestTemplateMethod(TimeoutExtension.java:94)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)