diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 1f8e3cd53..05c51e8c2 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -74,7 +74,7 @@ def eventually(max_delay = 16, &block) sleep(delay) yield break - rescue => error + rescue Excon::Errors::Error => error raise error if delay >= max_delay end end