apache / apache/pekko-grpc

ServerReflectionImplSpec: The Server Reflection implementation should retrieve server reflection info flaky

Open
#348 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
55
Forks
30
Avg merge
23h 12m
Merged PRs (30d)
34

Description

Likely 150ms is just a bit tight for CI:

```
[info] The Server Reflection implementation
[info] - should retrieve server reflection info *** FAILED *** (450 milliseconds)
[info] A timeout occurred waiting for a future to complete. Waited 150 milliseconds. (ServerReflectionImplSpec.scala:54)
[info] org.scalatest.concurrent.ScalaFutures$$anon$1$$anon$2:
[info] at org.scalatest.concurrent.ScalaFutures$$anon$1.futureValueImpl(ScalaFutures.scala:339)
[info] at org.scalatest.concurrent.Futures$FutureConcept.futureValue(Futures.scala:476)
[info] at org.scalatest.concurrent.Futures$FutureConcept.futureValue$(Futures.scala:475)
[info] at org.scalatest.concurrent.ScalaFutures$$anon$1.futureValue(ScalaFutures.scala:281)
[info] at org.apache.pekko.grpc.internal.ServerReflectionImplSpec.$anonfun$new$5(ServerReflectionImplSpec.scala:54)
```

Contributor guide

Open the contributing guide

Research direction

Open ServerReflectionImplSpec.scala and inspect the futureValue timeout at line 54, then run the focused spec to reproduce the intermittent failure. Confirm the test remains reliable in CI with a timeout appropriate for the server reflection response, and verify the spec passes consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc, scala
Domain
backend-api-design, testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.