grpc / grpc/grpc-java

NettyFlowControlTest is flaky

Ouverte
#2,297 124 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
highly flaky
Langage dominant
Java
Étoiles
12.1k
Forks
4k
Merge moyen
2 j 17 h
PR mergées (30 j)
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)
```

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java
Domaine
networking, testing-qa
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
30/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.