From c1f78cc6850e0fcbffaa000273c3b6f33f975cb7 Mon Sep 17 00:00:00 2001 From: zzak Date: Thu, 11 Jul 2013 05:24:32 +0000 Subject: [PATCH] * test/drb/ut_eq.rb: Use localhost for drb tests [Bug #7311] Patch by Vit Ondruch [ruby-core:49101] * test/drb/ut_array.rb: ditto * test/drb/ut_array_drbssl.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ test/drb/ut_array.rb | 2 +- test/drb/ut_array_drbssl.rb | 2 +- test/drb/ut_eq.rb | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3d37c62dd6..8276504de5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Thu Jul 11 14:22:37 2013 Zachary Scott + + * test/drb/ut_eq.rb: Use localhost for drb tests [Bug #7311] + Patch by Vit Ondruch [ruby-core:49101] + * test/drb/ut_array.rb: ditto + * test/drb/ut_array_drbssl.rb: ditto + Thu Jul 11 13:48:03 2013 Zachary Scott * sprintf.c: Fix typo patch by @hynkle [Fixes GH-357] diff --git a/test/drb/ut_array.rb b/test/drb/ut_array.rb index 6d9778ffbc..8ff001dd9f 100644 --- a/test/drb/ut_array.rb +++ b/test/drb/ut_array.rb @@ -8,7 +8,7 @@ if __FILE__ == $0 it end - DRb.start_service(nil, [1, 2, 'III', 4, "five", 6]) + DRb.start_service('druby://localhost:0', [1, 2, 'III', 4, "five", 6]) es = DRb::ExtServ.new(ARGV.shift, ARGV.shift) DRb.thread.join end diff --git a/test/drb/ut_array_drbssl.rb b/test/drb/ut_array_drbssl.rb index 77ff7ca354..8ece677c54 100644 --- a/test/drb/ut_array_drbssl.rb +++ b/test/drb/ut_array_drbssl.rb @@ -28,7 +28,7 @@ AQjjxMXhwULlmuR/K+WwlaZPiLIBYalLAZQ7ZbOPeVkJ8ePao0eLAgEC config[:SSLCertName] = [ ["C","JP"], ["O","Foo.DRuby.Org"], ["CN", "Sample"] ] - DRb.start_service('drbssl://:0', [1, 2, 'III', 4, "five", 6], config) + DRb.start_service('drbssl://localhost:0', [1, 2, 'III', 4, "five", 6], config) es = DRb::ExtServ.new(ARGV.shift, ARGV.shift) DRb.thread.join end diff --git a/test/drb/ut_eq.rb b/test/drb/ut_eq.rb index 330af95289..0f68ac1649 100644 --- a/test/drb/ut_eq.rb +++ b/test/drb/ut_eq.rb @@ -24,7 +24,7 @@ if __FILE__ == $0 it end - DRb.start_service('druby://:0', Bar.new) + DRb.start_service('druby://localhost:0', Bar.new) es = DRb::ExtServ.new(ARGV.shift, ARGV.shift) DRb.thread.join end