From 8f3f2f4bd88f9d19bd3dc582f336cb524ef2a534 Mon Sep 17 00:00:00 2001 From: ncteisen Date: Tue, 10 Jan 2017 15:39:51 -0800 Subject: Fix ruby:{python,csharp,csharpcoreclr}_server behavior --- src/ruby/pb/test/client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ruby') diff --git a/src/ruby/pb/test/client.rb b/src/ruby/pb/test/client.rb index e051676463..9c4ee9c6f2 100755 --- a/src/ruby/pb/test/client.rb +++ b/src/ruby/pb/test/client.rb @@ -575,7 +575,7 @@ class NamedTests seen_correct_exception = false begin resp = @stub.full_duplex_call([duplex_req]) - resp.next # triggers initial req to be sent + resp.each { |r| } rescue GRPC::Unknown => e if e.details != message fail AssertionError, -- cgit v1.2.3