[#43284] [Ruby 1.9 - Bug #4456] [Open] Time#strftime で %F 指定子に大きな幅を指定した際の不具合 — tadayoshi funaba <redmine@...>
14 messages
2011/03/02
[#44141] [Ruby 1.9 - Bug #4456] Time#strftime で %F 指定子に大きな幅を指定した際の不具合
— Masaya Tarui <tarui@...>
2011/07/17
[#44142] Re: [Ruby 1.9 - Bug #4456] Time#strftime で %F 指定子に大きな幅を指定した際の不具合
— Masaya TARUI <tarui@...>
2011/07/17
非常に重要な所が抜けてました。
[#43285] [Ruby 1.9 - Bug #4457] [Open] Time#strftime で %z 指定子などに大きな幅を指定した際の不具合 — tadayoshi funaba <redmine@...>
6 messages
2011/03/02
[#43296] [Ruby 1.9 - Bug #3990] [Assigned]tests of rexml/rss reports many errors and failures without iconv — Yui NARUSE <redmine@...>
5 messages
2011/03/03
[#43297] Re: [Ruby 1.9 - Bug #3990] [Assigned]tests of rexml/rss reports many errors and failures without iconv
— SASADA Koichi <ko1@...>
2011/03/03
(2011/03/03 18:56), Yui NARUSE wrote:
[#43298] Re: [Ruby 1.9 - Bug #3990] [Assigned]tests of rexml/rss reports many errors and failures without iconv
— "U.Nakamura" <usa@...>
2011/03/03
こんにちは、なかむら(う)です。
[#43317] [Ruby 1.9 - Bug #4474][Open] 複数のスレッドからトランザクションに入ろうとした場合のPStoreの挙動 — Masaki Matsushita <redmine@...>
9 messages
2011/03/06
[#43346] [BUG] lib/irb/locale.rb — keiju@... (Keiju ISHITSUKA)
けいじゅ@いしつかです.
8 messages
2011/03/24
[#43347] Re: [BUG] lib/irb/locale.rb
— Yugui <yugui@...>
2011/03/24
2011/3/24 Keiju ISHITSUKA <[email protected]>:
[#43355] [Ruby 1.9 - Feature #4529][Assigned] date_core と long 型 — Yui NARUSE <redmine@...>
10 messages
2011/03/25
[#43359] [Ruby 1.9 - Feature #4529][Rejected] date_core と long 型
— tadayoshi funaba <redmine@...>
2011/03/26
[#43360] Re: [ruby-dev:43359] [Ruby 1.9 - Feature #4529][Rejected] date_core と long 型
— "NARUSE, Yui" <naruse@...>
2011/03/26
(2011/03/26 19:21), tadayoshi funaba wrote:
[#43365] [Ruby 1.9 - Bug #4536][Open] 定数参照について1.8と1.9の違い — Yukihiro Matsumoto <matz@...>
11 messages
2011/03/29
[#43366] Re: [ruby-dev:43365] [Ruby 1.9 - Bug #4536][Open] 定数参照について1.8と1.9の違い
— SASADA Koichi <ko1@...>
2011/03/29
ささだです.
[ruby-dev:43301] [Ruby 1.9 - Bug #4466][Assigned] test_should_run_all_without_any_leaks somtimes fails
From:
Shota Fukumori <sorah@...>
Date:
2011-03-04 05:57:35 UTC
List:
ruby-dev #43301
Issue #4466 has been updated by Shota Fukumori.
Category changed from test to lib
Status changed from Open to Assigned
sora_hです。
なるほど。それコミットしてしまって良いです。
パッチを感謝します。 :)
--sora_h
----------------------------------------
Bug #4466: test_should_run_all_without_any_leaks somtimes fails
http://redmine.ruby-lang.org/issues/4466
Author: Tomoyuki Chikanaga
Status: Assigned
Priority: Normal
Assignee: Shota Fukumori
Category: lib
Target version: 1.9.3
ruby -v: ruby 1.9.3dev (2011-03-04 trunk 31020) [i686-linux]
Linux 上で test/testunit/test_parallel.rb が時々以下の Failure になります。
3) Failure:
test_should_run_all_without_any_leaks(TestParallel::TestParallel) [/opt/ruby-trunk/src/ruby-trunk/test/testunit/test_parallel.rb:156]:
Expected /^\.+SF\.+F\.*$/ to match "Run options: -j t2\n\n# Running ptests:\n\n..SFF..\nRetrying...\n\n.SF.\n\n\n\nFinished ptests in 0.068964s, 101.5022 tests/s, 43.5010 assertions/s.\n\n 1) Skipped:\nptest_always_skip(TestE) [/opt/ruby-trunk/src/ruby-trunk/test/testunit/tests_for_parallel/test_forth.rb:10]:\nSkipped, no message given\n\n 2) Failure:\nptest_always_fail(TestE) [/opt/ruby-trunk/src/ruby-trunk/test/testunit/tests_for_parallel/test_forth.rb:14]:\n<0> expected but was\n<1>.\n\n7 tests, 3 assertions, 1 failures, 0 errors, 1 skips\n".
このテストが実行している子テストのテストケースの順番が入れ替わることがあるのに対応していないみたいです。
".SF" と "F" という塊があることを確認すれば良いのであれば以下のような変更でどうでしょうか。
Index: test/testunit/test_parallel.rb
===================================================================
--- test/testunit/test_parallel.rb (revision 31020)
+++ test/testunit/test_parallel.rb (working copy)
@@ -153,7 +153,7 @@
def test_should_run_all_without_any_leaks
spawn_runner
buf = timeout(10){@test_out.read}
- assert_match(/^\.+SF\.+F\.*$/,buf)
+ assert_match(/^(\.+SF\.*F|\.*F\.*\.+SF)\.*$/,buf)
end
def test_should_retry_failed_on_workers
--
http://redmine.ruby-lang.org