flexport / quarantine

Quarantine flaky Ruby Rspec tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

google_sheets is not working anymore

emilio2hd opened this issue · comments

When using google_sheets db with service_account_key, quarantine throws error Failed to pull the quarantine list from <test_statuses_table_name>.

The worksheet is found, but when tries to get the items from a specific sheet, google api client throws 404.

Quarantine::DatabaseError:
  Failed to pull the quarantine list from <test_statuses_table_name>
  because of Google::Apis::ClientError: Invalid request

When:

test_statuses = database.fetch_items(@options[:test_statuses_table_name])

I was playing with google-api-client (the official gem from google) and it's bring the data fine.

Environment

  • Ruby: 2.6.4p104
  • rspec: 3.10.0
  • google_drive: 2.1.12
  • macOS Big Sur v11.5