Project

General

Profile

Bug #2342

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

Added by wanabe (_ wanabe) about 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.2dev (2009-11-06 trunk 25671) [i386-mingw32]

Description

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

Associated revisions

Revision 27445
Added by mame (Yusuke Endoh) over 7 years ago

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

Revision 27445
Added by mame (Yusuke Endoh) over 7 years ago

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

Revision 27445
Added by mame (Yusuke Endoh) over 7 years ago

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

Revision 27445
Added by mame (Yusuke Endoh) over 7 years ago

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

History

#1 Updated by ujihisa (Tatsuhiro Ujihisa) about 8 years ago

  • Status changed from Open to Assigned
  • Assignee set to nobu (Nobuyoshi Nakada)

=begin

=end

#2 Updated by mame (Yusuke Endoh) over 7 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