Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gRPC: translate errors to context.Canceled (sourcegraph#47986)
The search pipeline has special treatment for `context.Canceled` errors. However, the gRPC error returned when a context canceled does _not_ respond to `errors.Is(err, context.Canceled)`. This means that our special treatment fails, and the error gets returned, causing the test to fail. A real fix here will be to add interceptors to our gRPC clients that translates these automatically. ## Test plan Running backend integration tests that were previously failing consistently.
- Loading branch information