Intermittent test failure: com.github.ambry.network.SelectorTest > testEmptyRequest[1]
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 298
- Avg merge
- 21h 43m
- Merged PRs (30d)
- 9
Description
```
com.github.ambry.network.SelectorTest > testEmptyRequest[1] FAILED
java.lang.AssertionError: HeapMemoryLeak: [allocation|deallocation] before test[10042|10040], after test[10046|10043] expected:<2> but was:<3>
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.failNotEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:126)
at org.junit.Assert.assertEquals(Assert.java:470)
at com.github.ambry.utils.NettyByteBufLeakHelper.afterTest(NettyByteBufLeakHelper.java:94)
at com.github.ambry.network.SelectorTest.after(SelectorTest.java:58)
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with com.github.ambry.network.SelectorTest.testEmptyRequest and its after hook, then inspect NettyByteBufLeakHelper.afterTest where the failure is reported. Reproduce the intermittent failure and trace the extra allocation so the test's before-and-after heap counts match.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100