diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-27 14:50:49 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-27 14:50:49 +0000 |
commit | f8fac84c7ba232166fdacdcff026e6ea0570075b (patch) | |
tree | 0c784f162cb300926d8417240ed0be3d26008926 /spec/mspec | |
parent | ecbb128273cd7b15d7ad9c96048275ec4f582342 (diff) | |
download | ruby-f8fac84c7ba232166fdacdcff026e6ea0570075b.tar.gz |
fix concurrent test.
* test/rubygems/test_require.rb (test_concurrent_require):
Synchronizations should be in ensure clause. Sometimes
`require` fails (not sure why) and latch is not released.
Such case introduces unlimited awaiting.
This patch soleve this problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/mspec')
0 files changed, 0 insertions, 0 deletions