fixed bug in custom metadata interop test from csharp client to c++ server

pull/8361/head
Noah Eisen 8 years ago
parent d44144c3b2
commit 2d41ed1613
  1. 2
      src/csharp/Grpc.IntegrationTesting/InteropClient.cs

@ -520,12 +520,12 @@ namespace Grpc.IntegrationTesting
};
var call = client.FullDuplexCall(headers: CreateTestMetadata());
var responseHeaders = await call.ResponseHeadersAsync;
await call.RequestStream.WriteAsync(request);
await call.RequestStream.CompleteAsync();
await call.ResponseStream.ToListAsync();
var responseHeaders = await call.ResponseHeadersAsync;
var responseTrailers = call.GetTrailers();
Assert.AreEqual("test_initial_metadata_value", responseHeaders.First((entry) => entry.Key == "x-grpc-test-echo-initial").Value);

Loading…
Cancel
Save