1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/fiddle
k0kubun 5ad8e42bef test_function.rb: loosen delta boundary
On osx build https://travis-ci.org/ruby/ruby/jobs/454309945,

```
1) Failure:
Fiddle::TestFunction#test_nogvl_poll [/Users/travis/build/ruby/ruby/test/fiddle/test_function.rb:95]:
slept amount of time.
Expected |200 - 322| (122) to be <= 100.
```

but it succeeds on my macOS machine as is. So it seems that the boundary is
just too strict and prone to random failure by overload.

To make osx Travis build usable, let me loosen the delta requirement.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-13 06:17:57 +00:00
..
helper.rb
test_c_struct_entry.rb
test_c_union_entity.rb
test_closure.rb
test_cparser.rb long long is a C99ism 2018-02-17 09:51:23 +00:00
test_fiddle.rb
test_func.rb
test_function.rb test_function.rb: loosen delta boundary 2018-11-13 06:17:57 +00:00
test_handle.rb
test_import.rb fiddle/test_import.rb: fix warnings by rubygems 2018-04-19 23:46:55 +00:00
test_pointer.rb removed unusecd constants 2018-07-12 02:29:57 +00:00