1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* bootstraptest/test_thread.rb: try to `join' each 100

threads.
  This benchmark seems consuming long time on travis-ci
  several times (and make `failure').



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2012-11-26 10:14:01 +00:00
parent 7b918be3d4
commit 42e9fc4110
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,10 @@
Mon Nov 26 19:10:53 2012 Koichi Sasada <ko1@atdot.net>
* bootstraptest/test_thread.rb: try to `join' each 100
threads.
This benchmark seems consuming long time on travis-ci
several times (and make `failure').
Mon Nov 26 18:22:56 2012 Koichi Sasada <ko1@atdot.net>
* common.mk: specify label `built-ruby'.

View file

@ -380,7 +380,9 @@ assert_equal 'ok', %q{
assert_equal 'ok', %q{
begin
10000.times { Thread.new(true) {|x| x == false } }
100.times{
(1..100).map{ Thread.new(true) {|x| x == false } }.each{|th| th.join}
}
rescue NoMemoryError, StandardError
end
:ok