diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-14 22:34:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-14 22:34:47 +0000 |
commit | b3348ddd4d921b602808ab1fced5fe3833d7894e (patch) | |
tree | bb93a7a7d925f007946f5d073586d91550122777 /test/ruby/envutil.rb | |
parent | b46441824fc1f666b9231f01f2f8ce9f7ac7b3ba (diff) | |
download | ruby-b3348ddd4d921b602808ab1fced5fe3833d7894e.tar.gz |
envutil.rb: reduce wait
* test/ruby/envutil.rb (EnvUtil.diagnostic_reports): reduce watching
interval.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/envutil.rb')
-rw-r--r-- | test/ruby/envutil.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb index 5e665e54dd..079658bfbd 100644 --- a/test/ruby/envutil.rb +++ b/test/ruby/envutil.rb @@ -166,8 +166,8 @@ module EnvUtil timeformat = DIAGNOSTIC_REPORTS_TIMEFORMAT pat = "#{path}/#{cmd}_#{now.strftime(timeformat)}[-_]*.crash" first = true - 3.times do - first ? (first = false) : sleep(1) + 30.times do + first ? (first = false) : sleep(0.1) Dir.glob(pat) do |name| log = File.read(name) rescue next if /\AProcess:\s+#{cmd} \[#{pid}\]$/ =~ log |