diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-05 20:36:46 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-05 20:36:46 +0000 |
commit | 112ee3aa4133f326ecd6307009ab7a19473b068a (patch) | |
tree | 3be481e6a3c5c2cc8d500d0d369e5b72702eb23c /test | |
parent | 64f0caac34833c98453bd267f6596c26f7d5bcd8 (diff) | |
download | ruby-112ee3aa4133f326ecd6307009ab7a19473b068a.tar.gz |
Show how many seconds it timeouts
By this we can easily extend timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/envutil.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |