diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-03-29 12:00:44 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-03-29 12:00:44 +0000 |
commit | 49f1b71144e9e8352688caf7cb23b09b62873464 (patch) | |
tree | 58bc356e72f60cabb2cc3c1a85d93142b665e72c /spec | |
parent | ce9e0ffd710db27f928ffa013d5d7047acb04511 (diff) |
Add some more buffer for timeout check
This spec is unstable on our CI environment:
https://gist.github.com/ko1/efa58acf4cd1d7b5bf1f63881537afe8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ruby/library/timeout/timeout_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |