Bug #4160

test_core_03_notify(Rinda::TupleSpaceProxyTest) が失敗する

Added by kyanagi (Kouhei Yanagita) over 1 year ago. Updated 10 months ago.

[ruby-dev:42771]
Status:Closed Start date:12/15/2010
Priority:Normal Due date:
Assignee:seki (Masatoshi Seki) % Done:

100%

Category:-
Target version:1.9.3
ruby -v:ruby 1.9.3dev (2010-12-15 trunk 30213) [x86_64-linux]

Description

test_core_03_notify(Rinda::TupleSpaceProxyTest) が失敗することがあります。(大体2回に1回くらい)
私の環境ではCentOS 5.5のマシンで発生し、Debian lennyのマシンでは発生しませんでした。


$ make test-all TESTS="rinda/test_rinda.rb"
./miniruby -I./lib -I.ext/common  ./tool/runruby.rb --extout=.ext  -- "./test/runner.rb" rinda/test_rinda.rb
Run options: 

# Running tests:

........F................

Finished tests in 0.950556s, 26.3004 tests/s, 277.7322 assertions/s.

  1) Failure:
test_core_03_notify(Rinda::TupleSpaceProxyTest) [/home/yanagi/tmp/ruby/test/rinda/test_rinda.rb:387]:
<10> expected but was
<0>.

25 tests, 264 assertions, 1 failures, 0 errors, 0 skips
make: *** [yes-test-all] Error 1

Related issues

related to ruby-trunk - Bug #372: Rinda has a race condition Closed

Associated revisions

Revision 32717
Added by seki (Masatoshi Seki) 10 months ago

the code that depends on timing. [Bug #372] [Bug #4160]

History

Updated by naruse (Yui NARUSE) 11 months ago

  • Status changed from Open to Assigned
  • Assignee set to seki (Masatoshi Seki)
  • Target version set to 1.9.3

Updated by seki (Masatoshi Seki) 10 months ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
This issue was solved with changeset r32717. Kouhei, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you. ---------- the code that depends on timing. [Bug #372] [Bug #4160]

Also available in: Atom PDF