Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky-test: PatternTopicsConsumerImplTest.testAutoSubscribePatternConsumer #16374

Closed
codelipenghui opened this issue Jul 4, 2022 · 4 comments · Fixed by #16375
Closed

Flaky-test: PatternTopicsConsumerImplTest.testAutoSubscribePatternConsumer #16374

codelipenghui opened this issue Jul 4, 2022 · 4 comments · Fixed by #16375

Comments

@codelipenghui
Copy link
Contributor

  Error:  Tests run: 36, Failures: 1, Errors: 0, Skipped: 35, Time elapsed: 98.406 s <<< FAILURE! - in org.apache.pulsar.client.impl.PatternTopicsConsumerImplTest
  Error:  testAutoSubscribePatternConsumer(org.apache.pulsar.client.impl.PatternTopicsConsumerImplTest)  Time elapsed: 0.96 s  <<< FAILURE!
  java.lang.AssertionError: expected [10] but found [6]
  	at org.testng.Assert.fail(Assert.java:99)
  	at org.testng.Assert.failNotEquals(Assert.java:1037)
  	at org.testng.Assert.assertEqualsImpl(Assert.java:140)
  	at org.testng.Assert.assertEquals(Assert.java:122)
  	at org.testng.Assert.assertEquals(Assert.java:907)
  	at org.testng.Assert.assertEquals(Assert.java:917)
  	at org.apache.pulsar.client.impl.PatternTopicsConsumerImplTest.testAutoSubscribePatternConsumer(PatternTopicsConsumerImplTest.java:591)
  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
  	at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
  	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
  	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
  	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
  	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
  	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
  	at java.base/java.lang.Thread.run(Thread.java:833)

example failure

@nicoloboschi
Copy link
Contributor

@nicoloboschi nicoloboschi reopened this Jul 19, 2022
@shibd
Copy link
Member

shibd commented Jul 20, 2022

@shibd
Copy link
Member

shibd commented Jul 21, 2022

I will look again

@nodece
Copy link
Member

nodece commented Jul 25, 2022

Fixed by #16719.

@nodece nodece closed this as completed Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants