diff options
author | 2018-01-16 18:21:23 +0100 | |
---|---|---|
committer | 2018-01-16 18:21:23 +0100 | |
commit | e5b7ddd59c9a8b7a33820197abb45e12e2b65daf (patch) | |
tree | 10c0237681a70d3bd67ccc518c10948832f34561 /src/ruby/spec/generic/client_stub_spec.rb | |
parent | 69d3e0984da394d1ea06edbe26de76d124c6eaf3 (diff) | |
parent | a2044f83c6956d8519c12ad698891f75c9391e50 (diff) |
Merge pull request #13363 from grpc/revert-13346-revert-13322-oauth_failure
Revert "Revert "Switching from UNAUTHENTICATED to UNAVAILABLE for auth metadata failure""
Diffstat (limited to 'src/ruby/spec/generic/client_stub_spec.rb')
-rw-r--r-- | src/ruby/spec/generic/client_stub_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ruby/spec/generic/client_stub_spec.rb b/src/ruby/spec/generic/client_stub_spec.rb index 79eeca9197..5353b534f4 100644 --- a/src/ruby/spec/generic/client_stub_spec.rb +++ b/src/ruby/spec/generic/client_stub_spec.rb @@ -228,7 +228,7 @@ describe 'ClientStub' do th.join end - it 'should receive UNAUTHENTICATED if call credentials plugin fails' do + it 'should receive UNAVAILABLE if call credentials plugin fails' do server_port = create_secure_test_server th = run_request_response(@sent_msg, @resp, @pass) @@ -252,7 +252,7 @@ describe 'ClientStub' do unauth_error_occured = false begin get_response(stub, credentials: creds) - rescue GRPC::Unauthenticated => e + rescue GRPC::Unavailable => e unauth_error_occured = true expect(e.details.include?(error_message)).to be true end |