Skip to content

Commit

Permalink
Update retryable errors
Browse files Browse the repository at this point in the history
  • Loading branch information
yuokada committed Sep 29, 2022
1 parent 190fd92 commit e8878f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@

MAX_RETRY_COUNT = 5
RETRYABLE_ERRORS = [
/No nodes available to run query/
/No nodes available to run query/,
/failed: nodes is empty/
]

def run_with_retry(client, sql)
Expand Down

0 comments on commit e8878f6

Please sign in to comment.