Bug #2342

bootstraptest/test_thread.rb がまれに失敗する

Added by _ wanabe over 5 years ago. Updated over 4 years ago.

Status:Closed
Priority:Normal
Assignee:Nobuyoshi Nakada
ruby -v:ruby 1.9.2dev (2009-11-06 trunk 25671) [i386-mingw32] Backport:

Description

=begin
bootstraptest/test_thread.rb の、$~ のスレッドローカル性を確認するテストがまれに失敗します。
r24754 で MatchData#== が新設されましたが、この変更に追随していないのではないかと思います。
成功するケースは単純にスレッド切り替えより先にテストが終了した場合か
または変数代入前にふたたびメインスレッドへ切り替わった場合のようです。
=end

Associated revisions

Revision 27445
Added by Yusuke Endoh over 5 years ago

  • bootstraptest/test_thread.rb: fix test. [Bug #2342]

Revision 27445
Added by Yusuke Endoh over 5 years ago

  • bootstraptest/test_thread.rb: fix test. [Bug #2342]

History

#1 Updated by ujihisa . over 5 years ago

  • Status changed from Open to Assigned
  • Assignee set to Nobuyoshi Nakada

=begin

=end

#2 Updated by Yusuke Endoh over 5 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r27445.
_, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF