Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Unified Diff: grpc/prpc/client_test.go

Issue 2951393002: [errors] de-specialize Transient in favor of Tags. (Closed)
Patch Set: more refactor Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: grpc/prpc/client_test.go
diff --git a/grpc/prpc/client_test.go b/grpc/prpc/client_test.go
index 914f73db65b95136c5b9871efd6b688420e5cbec..cb3972935c68e7aed94a04275539f858ce247478 100644
--- a/grpc/prpc/client_test.go
+++ b/grpc/prpc/client_test.go
@@ -211,7 +211,7 @@ func TestClient(t *testing.T) {
}
err := client.Call(ctx, "prpc.Greeter", "SayHello", req, res)
- So(err.Error(), ShouldContainSubstring, "failed to send request")
+ So(err.Error(), ShouldEqual, context.DeadlineExceeded.Error())
So(retries, ShouldEqual, 0)
})
« grpc/grpcutil/errors.go ('K') | « grpc/prpc/client.go ('k') | grpc/prpc/encoding.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698