From 48bfcdb4a04557c500eef06e3f7ea97859015fae Mon Sep 17 00:00:00 2001 From: eregon Date: Tue, 21 Nov 2017 00:56:09 +0000 Subject: test/ruby/bug-13526.rb: should wait until all threads are stopped git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/bug-13526.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby') diff --git a/test/ruby/bug-13526.rb b/test/ruby/bug-13526.rb index e0b8e981cc..50c6c67a7d 100644 --- a/test/ruby/bug-13526.rb +++ b/test/ruby/bug-13526.rb @@ -18,5 +18,5 @@ threads = Array.new(n) do end end -Thread.pass while threads.all?(&:stop?) +Thread.pass until threads.all?(&:stop?) 1000.times { Thread.pass } -- cgit v1.2.3