From 9e71ce687f6c1eaf838e7d51fe36e5227b292d8a Mon Sep 17 00:00:00 2001 From: k0kubun Date: Sun, 23 Dec 2018 01:40:33 +0000 Subject: 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 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/fiddle/test_function.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fiddle/test_function.rb b/test/fiddle/test_function.rb index c6f78284d5..eb8ef232e8 100644 --- a/test/fiddle/test_function.rb +++ b/test/fiddle/test_function.rb @@ -92,7 +92,7 @@ module Fiddle 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 -- cgit v1.2.3