diff --git a/spec/ruby/library/timeout/timeout_spec.rb b/spec/ruby/library/timeout/timeout_spec.rb index 5297de2823..ac0580ec13 100644 --- a/spec/ruby/library/timeout/timeout_spec.rb +++ b/spec/ruby/library/timeout/timeout_spec.rb @@ -26,7 +26,7 @@ describe "Timeout.timeout" do end end.should raise_error(StandardError) - (Time.now - before_time).should be_close(1.0, 0.5) + (Time.now - before_time).should be_close(1.0, 0.8) end it "returns back the last value in the block" do