Skip to content

Commit

Permalink
Do not store the error if it's ctx done
Browse files Browse the repository at this point in the history
Signed-off-by: JmPotato <ghzpotato@gmail.com>
  • Loading branch information
JmPotato committed Sep 6, 2023
1 parent 0498814 commit 24c34db
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/integrations/mcs/tso/proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ func (s *tsoProxyTestSuite) verifyTSOProxy(
for j := 0; j < requestsPerClient; j++ {
select {
case <-ctx.Done():
respErr.Store(ctx.Err())
s.cleanupGRPCStream(streams, cleanupFuncs, i)
return
default:
Expand Down

0 comments on commit 24c34db

Please sign in to comment.