From: Motohiro KOSAKI Date: 2011-02-24T22:18:03+09:00 Subject: [ruby-dev:43270] [Ruby 1.9 - Bug #4439] [Assigned] TestBeginEndBlock#test_should_propagate_signaled が必ず1度失敗する Issue #4439 has been reported by Motohiro KOSAKI. ---------------------------------------- Bug #4439: TestBeginEndBlock#test_should_propagate_signaled が必ず1度失敗する http://redmine.ruby-lang.org/issues/4439 Author: Motohiro KOSAKI Status: Assigned Priority: Low Assignee: Shota Fukumori Category: test Target version: 1.9.x ruby -v: ruby 1.9.3dev (2011-02-24 trunk 30951) [x86_64-linux] % make test-all TESTS="-v test/ruby/test_beginendblock.rb -j2" のように、test_beginendblock.rbを並列実行すると -------------------------------------------------------- # Running tests: TestBeginEndBlock#test_beginendblock = 0.17 s = . TestBeginEndBlock#test_begininclass = 0.00 s = . TestBeginEndBlock#test_begininmethod = 0.00 s = . TestBeginEndBlock#test_endblock_raise = 0.21 s = . TestBeginEndBlock#test_endblockwarn = 0.07 s = . TestBeginEndBlock#test_nested_at_exit = 0.03 s = . TestBeginEndBlock#test_raise_in_at_exit = 0.03 s = . TestBeginEndBlock#test_should_propagate_exit_code = 0.03 s = . TestBeginEndBlock#test_should_propagate_signaled = 5.03 s = F Retrying... TestBeginEndBlock#test_beginendblock = 0.13 s = . TestBeginEndBlock#test_begininclass = 0.00 s = . TestBeginEndBlock#test_begininmethod = 0.00 s = . TestBeginEndBlock#test_endblock_raise = 0.20 s = . TestBeginEndBlock#test_endblockwarn = 0.07 s = . TestBeginEndBlock#test_nested_at_exit = 0.03 s = . TestBeginEndBlock#test_raise_in_at_exit = 0.03 s = . TestBeginEndBlock#test_should_propagate_exit_code = 0.03 s = . TestBeginEndBlock#test_should_propagate_signaled = 0.14 s = . Finished tests in 6.488242s, 1.3871 tests/s, 2.9284 assertions/s. 9 tests, 19 assertions, 0 failures, 0 errors, 0 skips -------------------------------------------------------- のように test_should_propagate_signaled が必ず1度失敗してから リトライで成功します。 -- http://redmine.ruby-lang.org