ServerReflectionImplSpec: The Server Reflection implementation should retrieve server reflection info flaky
- 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
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