summaryrefslogtreecommitdiff
path: root/test/rinda/test_rinda.rb
AgeCommit message (Collapse)Author
2014-06-01Close FDs.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-26test_rinda.rb: revert stop_servicenobu
* test/rinda/test_rinda.rb (test_take_bug_8215): revert `stop_service` for the time being. need to reset `current_server` to let test/drb work, probably. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-26test_rinda.rb: fix leaked threadsnobu
* test/rinda/test_rinda.rb: join work threads not to leak threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-18test_rinda.rb: hungup investigationnobu
* test/rinda/test_rinda.rb (with_timeout, wait_for): extract to investigate test_do_reply_local too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-18test_rinda.rb: hungup investigationnobu
* test/rinda/test_rinda.rb (test_do_reply): abort on exception to investigate sporadic hungups on rubyci. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-16test_rinda.rb: timeout all threadnobu
* test/rinda/test_rinda.rb (test_do_reply): stop all threads and show backtraces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-15test_rinda.rb: timeoutnobu
* test/rinda/test_rinda.rb (test_do_reply): stop if blocking including TupleSpace#write and RingServer#do_reply. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-15test_rinda.rb: sleep to timeoutnobu
* test/rinda/test_rinda.rb (test_do_reply): sleep instead of busy loop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-15add timeout to test_do_replynaruse
http://fb64b.rubyci.org/~chkbuild/ruby-trunk/log/20140115T073301Z.log.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-27 * lib/rinda/ring.rb: Announce RingServer for the same process.drbrain
[ruby-trunk - Bug #9163] * test/rinda/test_rinda.rb: Tests for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-26fix missing assignment in r42174naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-25Somehow Debian 6.0.7 needs ifname for IPv6 multicast connectnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-24test_rinda.rb: fix for unimplemented ifindex()shirosaki
* test/rinda/test_rinda.rb (RingIPv6#prepare_ipv6): ifindex() function may not be implemented on Windows. We use another check for the case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-19test_rinda.rb: no forknobu
* test/rinda/test_rinda.rb (have_fork?): no longer used already. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-19test_rinda.rb: reap zombienobu
* test/rinda/test_rinda.rb (test_take_bug_8215): reap zombie. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-02* test/rinda/test_rinda.rb: rename functions introduced in r41009.ayumin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-31Use custom methods for values whose type is different on platformsnaruse
Use Socket::Option#ip_multicast_loop and Socket::Option#ip_multicast_ttl instead of Socket::Option#int because NetBSD's size is byte though others' is int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-11* test/rinda/test_rinda.rb: Socket.getifaddrs may returns an interfaceakr
which #addr method returns nil for venet0 in OpenVZ. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-11Add debug print to investigate a failure on Travis-CI.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-11Simplify test with Socket.getifaddrsnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-25ring.rb: specify multicast interfaceshirosaki
* lib/rinda/ring.rb (Rinda::RingServer#initialize): accept array arguments of address to specify multicast interface. * lib/rinda/ring.rb (Rinda::RingServer#make_socket): add optional arguments for multicast interface. * test/rinda/test_rinda.rb (TestRingFinger#test_ring_server_ipv4_multicast, TestRingFinger#test_ring_server_ipv6_multicast): add tests for above change. * test/rinda/test_rinda.rb (TestRingServer#test_make_socket_ipv4_multicast, TestRingServer#test_make_socket_ipv6_multicast): change bound interface address because multicast address is not allowed on Linux or Windows. [ruby-core:53692] [Bug #8159] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-25test_rinda.rb: Use KILL on Windowsshirosaki
* test/rinda/test_rinda.rb (TupleSpaceProxyTest#test_take_bug_8215): use KILL on Windows since TERM doen't work and ruby process remains after test-all on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-18test_rinda.rb: use spawnnobu
* test/rinda/test_rinda.rb (TupleSpaceProxyTest#test_take_bug_8215): use more portable spawn instead of fork. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-25Use more general approach to get scope_id see #8159naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-25Suppress warningsnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24* test/rinda/test_rinda.rb: Skip IPv6 tests if no IPv6 addressesdrbrain
exist. Skip fork-dependent test if fork is not available. [ruby-trunk - Bug #8159] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-24Try interface indexes which can use for IPv6 multicastnaruse
a fix for r39896 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23* test/rinda/test_rinda.rb: Restore tests commented out while fixingdrbrain
test slowdown bug before r39895. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23 * lib/rinda/ring.rb: Add multicast support to Rinda::RingFinger anddrbrain
Rinda::RingServer. [ruby-trunk - Bug #8073] * test/rinda/test_rinda.rb: Test for the above. * NEWS: Update with Rinda multicast support git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23* test/rinda/test_rinda.rb: Fixed test failures in r39890 and r39890drbrain
due to stopping DRb service. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23Commit missdrbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-19* test/rinda/test_rinda.rb: remove unused variables.ayumin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-21 * test/rinda/test_rinda.rb: fix sticks on some testsf problem seki
[Bug #6272] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-05 * test/rinda/test_rinda.rb (test_core_03_notify): Fixed test failuresseki
[ruby-dev:44430] [Ruby 1.9 - Bug #372] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-28 the code that depends on timing. [Bug #372] [Bug #4160]seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-27* test/rinda/test_rinda.rb (test_remote_array_and_hash):nagachika
add local variables to protect objects from GC. [ruby-dev:44253] [Bug #5104] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-26* test/rinda/test_rinda.rb (class TupleSpaceTest): kill a used threadtarui
at teardown. [ruby-dev:41397] * test/rinda/test_rinda.rb (class TupleSpaceProxyTest): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06* {ext,lib,test}/**/*.rb: removed trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18fixed fails occasionally [ruby-dev:37119]. thanks, shinichiro.h.seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-21 Fixed test failures [ruby-dev:36837].seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-24* test: assert_raises has been deprecated since a long time ago.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-27merged from 1.8seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25* test/rinda/test_rinda.rb (MockClock#{_forward, forwrd, sleep}):naruse
Change default value of n as @reso from nil. If default value is nil, n.+ is not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24* test/rinda/test_rinda.rb: revert last commit because this test seemsko1
to have timing problem to halt all tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24* test/rinda/test_rinda.rb: enable rinda test.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31 * Merge YARVko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-11(test_remote_array_and_hash): pseudo remote objects are protectedseki
against GC. [ruby-dev:27911] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-16check remote hash tupleseki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-29use new_with instead of reinit [ruby-dev:25961]seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-13remove test_gcseki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e