add a comment

pull/8700/head
Jan Tattermusch 8 years ago
parent 998fdd0c46
commit 60d0f4ced3
  1. 1
      src/csharp/Grpc.IntegrationTesting/MetadataCredentialsTest.cs

@ -112,6 +112,7 @@ namespace Grpc.IntegrationTesting
client = new TestService.TestServiceClient(channel); client = new TestService.TestServiceClient(channel);
var ex = Assert.Throws<RpcException>(() => client.UnaryCall(new SimpleRequest { })); var ex = Assert.Throws<RpcException>(() => client.UnaryCall(new SimpleRequest { }));
// StatusCode.Unknown as the server-side handler throws an exception after not receiving the authorization header.
Assert.AreEqual(StatusCode.Unknown, ex.Status.StatusCode); Assert.AreEqual(StatusCode.Unknown, ex.Status.StatusCode);
} }

Loading…
Cancel
Save