ruby-changes:54294
From: k0kubun <ko1@a...>
Date: Sun, 23 Dec 2018 10:40:37 +0900 (JST)
Subject: [ruby-changes:54294] k0kubun:r66503 (trunk): test/fiddle/test_function.rb: loosen timeout
k0kubun 2018-12-23 10:40:33 +0900 (Sun, 23 Dec 2018) New Revision: 66503 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66503 Log: test/fiddle/test_function.rb: loosen timeout We're hitting `Expected |200 - 351| (151) to be <= 150.` in several places: https://rubyci.org/logs/rubyci.s3.amazonaws.com/osx1012/ruby-trunk/log/20181215T094505Z.fail.html.gz https://travis-ci.org/ruby/ruby/jobs/471483171 Modified files: trunk/test/fiddle/test_function.rb Index: test/fiddle/test_function.rb =================================================================== --- test/fiddle/test_function.rb (revision 66502) +++ test/fiddle/test_function.rb (revision 66503) @@ -92,7 +92,7 @@ module Fiddle https://github.com/ruby/ruby/blob/trunk/test/fiddle/test_function.rb#L92 n1 = f.call(nil, 0, msec) n2 = th.value t1 = Process.clock_gettime(Process::CLOCK_MONOTONIC, :millisecond) - assert_in_delta(msec, t1 - t0, 150, 'slept amount of time') + assert_in_delta(msec, t1 - t0, 180, 'slept amount of time') assert_equal(0, n1, perror("poll(2) in main-thread")) assert_equal(0, n2, perror("poll(2) in sub-thread")) end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/