[ruby-cvs:72805] k0kubun:r65705 (trunk): test_function.rb: loosen delta boundary

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Tue Nov 13 15:17:57 JST 2018


k0kubun	2018-11-13 15:17:57 +0900 (Tue, 13 Nov 2018)

  New Revision: 65705

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65705

  Log:
    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.

  Modified files:
    trunk/test/fiddle/test_function.rb


More information about the ruby-cvs mailing list