You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "lhotari (via GitHub)" <gi...@apache.org> on 2026/03/26 10:25:19 UTC
Re: [I] Flaky-test: GeoReplicationTest.testTopicReplication [pulsar]
lhotari commented on issue #15913:
URL: https://github.com/apache/pulsar/issues/15913#issuecomment-4133404521
Another occurrence of this flaky test.
**Example failure:** https://github.com/apache/pulsar/actions/runs/23586018795/job/68681280441
**Failed variant:** `testTopicReplication[non-persistent](6)` (retry attempt — invocation 4 was skipped due to prior failed setup)
**Stack trace:**
```
java.lang.AssertionError: expected object to not be null
at org.testng.Assert.assertNotNull(Assert.java:1483)
at org.apache.pulsar.tests.integration.messaging.GeoReplicationTest.testTopicReplication(GeoReplicationTest.java:124)
```
**Analysis:** The persistent variant passed (18.4s), but the non-persistent variant timed out after 21s. The test sends 10 messages from cluster1 and expects to receive all 10 on cluster2 with a 10-second per-message timeout. `c.receive(10, TimeUnit.SECONDS)` returned null, meaning the non-persistent message was not replicated in time. Non-persistent topics don't guarantee delivery — messages can be lost if the replication cursor hasn't caught up or connections aren't fully established between clusters in the containerized CI environment.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org