apache / apache/pulsar

Flaky-test: NegativeAcksTest.testNegativeAcksWithBatchAckEnabled

Open
#16,864 5 comments 0 reactions 0 assignees View on GitHub
area/test help wanted type/flaky-tests
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

https://github.com/apache/pulsar/runs/7573727921?check_suite_focus=true

```
[INFO] Running org.apache.pulsar.client.impl.TopicPublishThrottlingInitTest
Error: Tests run: 69, Failures: 1, Errors: 0, Skipped: 3, Time elapsed: 109.161 s <<< FAILURE! - in org.apache.pulsar.client.impl.NegativeAcksTest
Error: testNegativeAcksWithBatchAckEnabled(org.apache.pulsar.client.impl.NegativeAcksTest) Time elapsed: 11.79 s <<< FAILURE!
org.testng.internal.thread.ThreadTimeoutException: Method org.apache.pulsar.client.impl.NegativeAcksTest.testNegativeAcksWithBatchAckEnabled() didn't finish within the time-out 10000
at org.testng.internal.MethodInvocationHelper.invokeWithTimeoutWithNewExecutor(MethodInvocationHelper.java:371)
at org.testng.internal.MethodInvocationHelper.invokeWithTimeout(MethodInvocationHelper.java:282)
```

Contributor guide

Open the contributing guide

Research direction

Open the linked CI run and start with org.apache.pulsar.client.impl.NegativeAcksTest.testNegativeAcksWithBatchAckEnabled, focusing on the TestNG timeout shown in the failure output. Reproduce the failure and trace the test's timeout behavior; done means the test completes reliably within its timeout without intermittent failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.