[前][次][番号順一覧][スレッド一覧]

ruby-changes:40272

From: usa <ko1@a...>
Date: Thu, 29 Oct 2015 22:55:06 +0900 (JST)
Subject: [ruby-changes:40272] usa:r52353 (ruby_2_1): merge revision(s) 51916: [Backport #11543]

usa	2015-10-29 22:54:43 +0900 (Thu, 29 Oct 2015)

  New Revision: 52353

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52353

  Log:
    merge revision(s) 51916: [Backport #11543]
    
    * test/drb/test_drb.rb: Run Rinda/DRb tests on localhost. [Fix GH-1027]
      patch by voxik.
    
    * test/rinda/test_rinda.rb: ditto

  Modified directories:
    branches/ruby_2_1/
  Modified files:
    branches/ruby_2_1/ChangeLog
    branches/ruby_2_1/test/drb/test_drb.rb
    branches/ruby_2_1/test/rinda/test_rinda.rb
    branches/ruby_2_1/version.h
Index: ruby_2_1/ChangeLog
===================================================================
--- ruby_2_1/ChangeLog	(revision 52352)
+++ ruby_2_1/ChangeLog	(revision 52353)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/ChangeLog#L1
+Thu Oct 29 22:51:59 2015  Masatoshi SEKI  <m_seki@m...>
+
+	* test/drb/test_drb.rb: Run Rinda/DRb tests on localhost. [Fix GH-1027]
+	  patch by voxik.
+
+	* test/rinda/test_rinda.rb: ditto
+
 Tue Sep 29 17:39:42 2015  Nobuyoshi Nakada  <nobu@r...>
 
 	* parse.y (literal_concat_gen, evstr2dstr_gen): keep literal
Index: ruby_2_1/version.h
===================================================================
--- ruby_2_1/version.h	(revision 52352)
+++ ruby_2_1/version.h	(revision 52353)
@@ -1,9 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/version.h#L1
 #define RUBY_VERSION "2.1.8"
-#define RUBY_RELEASE_DATE "2015-09-29"
-#define RUBY_PATCHLEVEL 405
+#define RUBY_RELEASE_DATE "2015-10-29"
+#define RUBY_PATCHLEVEL 406
 
 #define RUBY_RELEASE_YEAR 2015
-#define RUBY_RELEASE_MONTH 9
+#define RUBY_RELEASE_MONTH 10
 #define RUBY_RELEASE_DAY 29
 
 #include "ruby/version.h"
Index: ruby_2_1/test/rinda/test_rinda.rb
===================================================================
--- ruby_2_1/test/rinda/test_rinda.rb	(revision 52352)
+++ ruby_2_1/test/rinda/test_rinda.rb	(revision 52353)
@@ -480,7 +480,7 @@ class TupleSpaceProxyTest < Test::Unit:: https://github.com/ruby/ruby/blob/trunk/ruby_2_1/test/rinda/test_rinda.rb#L480
 
   def test_take_bug_8215
     require_relative '../ruby/envutil'
-    service = DRb.start_service(nil, @ts_base)
+    service = DRb.start_service("druby://localhost:0", @ts_base)
 
     uri = service.uri
 
@@ -488,7 +488,7 @@ class TupleSpaceProxyTest < Test::Unit:: https://github.com/ruby/ruby/blob/trunk/ruby_2_1/test/rinda/test_rinda.rb#L488
 
     take = spawn(*args, <<-'end;', uri)
       uri = ARGV[0]
-      DRb.start_service
+      DRb.start_service("druby://localhost:0")
       ro = DRbObject.new_with_uri(uri)
       ts = Rinda::TupleSpaceProxy.new(ro)
       th = Thread.new do
@@ -504,7 +504,7 @@ class TupleSpaceProxyTest < Test::Unit:: https://github.com/ruby/ruby/blob/trunk/ruby_2_1/test/rinda/test_rinda.rb#L504
 
     write = spawn(*args, <<-'end;', uri)
       uri = ARGV[0]
-      DRb.start_service
+      DRb.start_service("druby://localhost:0")
       ro = DRbObject.new_with_uri(uri)
       ts = Rinda::TupleSpaceProxy.new(ro)
       ts.write([:test_take, 42])
@@ -522,7 +522,7 @@ class TupleSpaceProxyTest < Test::Unit:: https://github.com/ruby/ruby/blob/trunk/ruby_2_1/test/rinda/test_rinda.rb#L522
     Process.wait(take)  if take
   end
 
-  @server = DRb.primary_server || DRb.start_service
+  @server = DRb.primary_server || DRb.start_service("druby://localhost:0")
 end
 
 module RingIPv6
Index: ruby_2_1/test/drb/test_drb.rb
===================================================================
--- ruby_2_1/test/drb/test_drb.rb	(revision 52352)
+++ ruby_2_1/test/drb/test_drb.rb	(revision 52353)
@@ -194,7 +194,7 @@ class TestDRbMServer < Test::Unit::TestC https://github.com/ruby/ruby/blob/trunk/ruby_2_1/test/drb/test_drb.rb#L194
     setup_service 'ut_drb.rb'
     super
     @server = (1..3).collect do |n|
-      DRb::DRbServer.new(nil, Onecky.new(n.to_s))
+      DRb::DRbServer.new("druby://localhost:0", Onecky.new(n.to_s))
     end
   end
 

Property changes on: ruby_2_1
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r51916


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]