diff options
-rw-r--r-- | test/lib/test/unit/assertions.rb | 2 | ||||
-rw-r--r-- | test/mkmf/test_flags.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/test/unit/assertions.rb b/test/lib/test/unit/assertions.rb index dfa929a136..32f6fc6d0c 100644 --- a/test/lib/test/unit/assertions.rb +++ b/test/lib/test/unit/assertions.rb @@ -761,7 +761,7 @@ eom # [ruby-core:81540] min_hz = windows? ? 67 : 100 min_measurable = 1.0 / min_hz - min_measurable *= 1.10 # add a little (10%) to account for misc. overheads + min_measurable *= 1.30 # add a little (30%) to account for misc. overheads if max < min_measurable max = min_measurable end diff --git a/test/mkmf/test_flags.rb b/test/mkmf/test_flags.rb index 69a1084608..a3596d8e55 100644 --- a/test/mkmf/test_flags.rb +++ b/test/mkmf/test_flags.rb @@ -41,7 +41,7 @@ class TestMkmf end def test_try_cflag_invalid_opt - assert_separately([], <<-'end;') #do + assert_separately([], <<-'end;', timeout: 30) #do assert(!try_cflags("nosuch.c"), TestMkmf::MKMFLOG) assert(have_devel?, TestMkmf::MKMFLOG) end; |