Add logging to gemfile to fix specs (#707)

* Add logging to gemfile to fix specs
* Get rid of huge puts in the generator test that was overwhelming travis
* Fix HTTP tests by making the new Signet::RemoteServerError retriable
This commit is contained in:
Daniel Azuma authored and GitHub committed 2018-08-22 13:42:05 -07:00
1 parent 24be95a758
commit 406fcb0032
4 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -99,7 +99,7 @@ module Google
# NotFound, etc
auth_tries = (try == 1 && authorization_refreshable? ? 2 : 1)
Retriable.retriable tries: auth_tries,
on: [Google::Apis::AuthorizationError, Signet::AuthorizationError],
on: [Google::Apis::AuthorizationError, Signet::AuthorizationError, Signet::RemoteServerError],
on_retry: proc { |*| refresh_authorization } do
execute_once(client).tap do |result|
if block_given?