diff --git a/test/lib/envutil.rb b/test/lib/envutil.rb index fce0e1b382..5d3bce99ec 100644 --- a/test/lib/envutil.rb +++ b/test/lib/envutil.rb @@ -147,7 +147,7 @@ module EnvUtil stderr = stderr_filter.call(stderr) if stderr_filter if timeout_error bt = caller_locations - msg = "execution of #{bt.shift.label} expired" + msg = "execution of #{bt.shift.label} expired timeout (#{timeout} sec)" msg = Test::Unit::Assertions::FailDesc[status, msg, [stdout, stderr].join("\n")].() raise timeout_error, msg, bt.map(&:to_s) end diff --git a/test/ruby/test_optimization.rb b/test/ruby/test_optimization.rb index 11cf1ffbfb..5e17ea9032 100644 --- a/test/ruby/test_optimization.rb +++ b/test/ruby/test_optimization.rb @@ -689,7 +689,7 @@ class TestRubyOptimization < Test::Unit::TestCase end def test_clear_unreachable_keyword_args - assert_separately [], <<-END + assert_separately [], <<-END, timeout: 15 script = <<-EOS if true else diff --git a/test/ruby/test_proc.rb b/test/ruby/test_proc.rb index 68455c1bcc..e6618745f1 100644 --- a/test/ruby/test_proc.rb +++ b/test/ruby/test_proc.rb @@ -1325,7 +1325,7 @@ class TestProc < Test::Unit::TestCase end def test_local_variable_set_wb - assert_ruby_status([], <<-'end;', '[Bug #13605]') + assert_ruby_status([], <<-'end;', '[Bug #13605]', timeout: 15) b = binding n = 20_000 diff --git a/version.h b/version.h index 6cbc4ba608..783c5c663b 100644 --- a/version.h +++ b/version.h @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.5.0" #define RUBY_RELEASE_DATE "2018-01-06" -#define RUBY_PATCHLEVEL 8 +#define RUBY_PATCHLEVEL 9 #define RUBY_RELEASE_YEAR 2018 #define RUBY_RELEASE_MONTH 1