Skip to content

Commit

Permalink
Update comment when we get a deadline exceeded error.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewstevenson88 committed Jan 10, 2024
1 parent 7c03f1d commit c103835
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion credentials/alts/alts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,8 @@ func establishAltsConnection(t *testing.T, handshakerAddress, serverAddress stri
break
}
if code := status.Code(err); code == codes.Unavailable || code == codes.DeadlineExceeded {
// The server is not ready yet. Try again.
// The server is not ready yet or there were too many concurrent handshakes.
// Try again.
continue
}
t.Fatalf("c.UnaryCall() failed: %v", err)
Expand Down

0 comments on commit c103835

Please # to comment.