NettyFlowControlTest is flaky
- Dominant language
- Java
- Stars
- 12.1k
- Forks
- 4k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 37
Description
Happened few times for me, in CI as well as locally:
```
io.grpc.testing.integration.NettyFlowControlTest > verySmallWindowMakesProgress FAILED
java.lang.AssertionError: Window was 655492 expecting 314570
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at io.grpc.testing.integration.NettyFlowControlTest.doTest(NettyFlowControlTest.java:171)
at io.grpc.testing.integration.NettyFlowControlTest.verySmallWindowMakesProgress(NettyFlowControlTest.java:141)
```
Contributor guide
Research direction
Start with NettyFlowControlTest.verySmallWindowMakesProgress at line 141 and the failing assertion in doTest at line 171, then run the test repeatedly in CI and locally to observe the intermittent window value. Done means the test no longer flakes while still verifying progress for a very small flow-control window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- networking, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100