Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
search_with_retry should also handle FASlowdownError, not just FAStat…
…usError
  • Loading branch information
Deer-Spangle committed Dec 12, 2025
commit a7b87dae0d1b954feffc723e423da154d3a8589f
4 changes: 2 additions & 2 deletions tests/integration/search_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@

begin
@fa.search(args)
rescue FAStatusError => e
rescue [FAStatusError, FASlowdownError] => e
raise unless (retries += 1) <= 5

puts "FAStatusError on Search: #{e}, retry #{retries} in #{wait_between_tries} second(s)..."
puts "FA error on Search: #{e}, retry #{retries} in #{wait_between_tries} second(s)..."
sleep(wait_between_tries)
retry
end
Expand Down
Loading