Skip to content

Commit edb7a6e

Browse files
committed
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 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@52305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent df51bed commit edb7a6e

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
Tue Oct 27 23:32:51 2015 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
2+
3+
* test/drb/test_drb.rb: Run Rinda/DRb tests on localhost. [Fix GH-1027]
4+
patch by voxik.
5+
6+
* test/rinda/test_rinda.rb: ditto
7+
18
Tue Oct 6 01:29:02 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
29

310
* parse.y (IS_BEG): include labeled argument state, which was

test/drb/test_drb.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def setup
211211
setup_service 'ut_drb.rb'
212212
super
213213
@server = (1..3).collect do |n|
214-
DRb::DRbServer.new(nil, Onecky.new(n.to_s))
214+
DRb::DRbServer.new("druby://localhost:0", Onecky.new(n.to_s))
215215
end
216216
end
217217

test/rinda/test_rinda.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -488,15 +488,15 @@ def test_remote_array_and_hash
488488
end
489489

490490
def test_take_bug_8215
491-
service = DRb.start_service(nil, @ts_base)
491+
service = DRb.start_service("druby://localhost:0", @ts_base)
492492

493493
uri = service.uri
494494

495495
args = [EnvUtil.rubybin, *%W[-rdrb/drb -rdrb/eq -rrinda/ring -rrinda/tuplespace -e]]
496496

497497
take = spawn(*args, <<-'end;', uri)
498498
uri = ARGV[0]
499-
DRb.start_service
499+
DRb.start_service("druby://localhost:0")
500500
ro = DRbObject.new_with_uri(uri)
501501
ts = Rinda::TupleSpaceProxy.new(ro)
502502
th = Thread.new do
@@ -512,7 +512,7 @@ def test_take_bug_8215
512512

513513
write = spawn(*args, <<-'end;', uri)
514514
uri = ARGV[0]
515-
DRb.start_service
515+
DRb.start_service("druby://localhost:0")
516516
ro = DRbObject.new_with_uri(uri)
517517
ts = Rinda::TupleSpaceProxy.new(ro)
518518
ts.write([:test_take, 42])
@@ -531,7 +531,7 @@ def test_take_bug_8215
531531
Process.wait(take) if take
532532
end
533533

534-
@server = DRb.primary_server || DRb.start_service
534+
@server = DRb.primary_server || DRb.start_service("druby://localhost:0")
535535
end
536536

537537
module RingIPv6

version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#define RUBY_VERSION "2.2.4"
2-
#define RUBY_RELEASE_DATE "2015-10-06"
3-
#define RUBY_PATCHLEVEL 180
2+
#define RUBY_RELEASE_DATE "2015-10-27"
3+
#define RUBY_PATCHLEVEL 181
44

55
#define RUBY_RELEASE_YEAR 2015
66
#define RUBY_RELEASE_MONTH 10
7-
#define RUBY_RELEASE_DAY 6
7+
#define RUBY_RELEASE_DAY 27
88

99
#include "ruby/version.h"
1010

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy