[ruby-cvs:68682] ko1:r61501 (trunk): fix concurrent test.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Dec 27 23:50:49 JST 2017


ko1	2017-12-27 23:50:49 +0900 (Wed, 27 Dec 2017)

  New Revision: 61501

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61501

  Log:
    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.

  Modified files:
    trunk/test/rubygems/test_require.rb


More information about the ruby-cvs mailing list