summaryrefslogtreecommitdiff
path: root/test/lib/leakchecker.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-25 06:53:27 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-25 06:53:27 +0000
commit3b26b3898e3726e2952bc1d809b56d277b4308a7 (patch)
tree0647df2c9484ac9440287def86b4d7cb5622fb83 /test/lib/leakchecker.rb
parent14cea0d712d8f0572729a148d809962da02df4a0 (diff)
leakchecker.rb: temporary measure againt WEBrick
* test/lib/leakchecker.rb (LeakChecker#find_threads): temporary measure for unrestartable WEBrick::Utils::TimeoutHandler::Thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib/leakchecker.rb')
-rw-r--r--test/lib/leakchecker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/leakchecker.rb b/test/lib/leakchecker.rb
index aa7e2c5..599141d 100644
--- a/test/lib/leakchecker.rb
+++ b/test/lib/leakchecker.rb
@@ -131,7 +131,7 @@ class LeakChecker
def find_threads
Thread.list.find_all {|t|
- t != Thread.current && t.alive?
+ t != Thread.current && /\AWEBrick::/ !~ t.class.name && t.alive?
}
end