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: PersistentTopicTest.testGetReplicationClusters #19418

Closed
1 of 2 tasks
lhotari opened this issue Feb 3, 2023 · 2 comments · Fixed by #19421
Closed
1 of 2 tasks

Flaky-test: PersistentTopicTest.testGetReplicationClusters #19418

lhotari opened this issue Feb 3, 2023 · 2 comments · Fixed by #19421

Comments

@lhotari
Copy link
Member

lhotari commented Feb 3, 2023

Search before asking

  • I searched in the issues and found nothing similar.

Example failure

https://github.com/apache/pulsar/actions/runs/4081522085/jobs/7035431254#step:11:1138

Exception stacktrace

  Error:  Tests run: 195, Failures: 1, Errors: 0, Skipped: 169, Time elapsed: 8.755 s <<< FAILURE! - in org.apache.pulsar.broker.service.PersistentTopicTest
  Error:  testGetReplicationClusters(org.apache.pulsar.broker.service.PersistentTopicTest)  Time elapsed: 0.055 s  <<< FAILURE!
  java.lang.AssertionError: lists don't have the same size expected [1] but found [0]
  	at org.testng.Assert.fail(Assert.java:110)
  	at org.testng.Assert.failNotEquals(Assert.java:1413)
  	at org.testng.Assert.assertEqualsImpl(Assert.java:149)
  	at org.testng.Assert.assertEquals(Assert.java:131)
  	at org.testng.Assert.assertEquals(Assert.java:1240)
  	at org.testng.Assert.assertEquals(Assert.java:1465)
  	at org.testng.Assert.assertEquals(Assert.java:1441)
  	at org.apache.pulsar.broker.service.PersistentTopicTest.testGetReplicationClusters(PersistentTopicTest.java:2266)
  	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.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
  	at org.testng.internal.invokers.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:47)
  	at org.testng.internal.invokers.InvokeMethodRunnable.call(InvokeMethodRunnable.java:76)
  	at org.testng.internal.invokers.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)

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@lhotari
Copy link
Member Author

lhotari commented Feb 3, 2023

This fails consistently locally. I think that master branch is currently broken.

@lhotari lhotari self-assigned this Feb 3, 2023
@lhotari
Copy link
Member Author

lhotari commented Feb 3, 2023

My PR #19388 broke this. I'm working on a fix for the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant