mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* 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/trunk@51916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									4dcdbb4afc
								
							
						
					
					
						commit
						0e84f98d0d
					
				
					 3 changed files with 12 additions and 5 deletions
				
			
		|  | @ -1,3 +1,10 @@ | |||
| Tue Sep 22 04:20:01 2015  Masatoshi SEKI  <m_seki@mva.biglobe.ne.jp> | ||||
| 
 | ||||
| 	* test/drb/test_drb.rb: Run Rinda/DRb tests on localhost. [Fix GH-1027] | ||||
| 	  patch by voxik. | ||||
| 
 | ||||
| 	* test/rinda/test_rinda.rb: ditto | ||||
| 
 | ||||
| Mon Sep 21 20:53:39 2015  tbpgr  <tbpgr@tbpgr.jp> | ||||
| 
 | ||||
| 	* test/win32ole/test_win32ole_event.rb: fix typo. | ||||
|  |  | |||
|  | @ -211,7 +211,7 @@ class TestDRbMServer < Test::Unit::TestCase | |||
|     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 | ||||
| 
 | ||||
|  |  | |||
|  | @ -488,7 +488,7 @@ class TupleSpaceProxyTest < Test::Unit::TestCase | |||
|   end | ||||
| 
 | ||||
|   def test_take_bug_8215 | ||||
|     service = DRb.start_service(nil, @ts_base) | ||||
|     service = DRb.start_service("druby://localhost:0", @ts_base) | ||||
| 
 | ||||
|     uri = service.uri | ||||
| 
 | ||||
|  | @ -496,7 +496,7 @@ class TupleSpaceProxyTest < Test::Unit::TestCase | |||
| 
 | ||||
|     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 | ||||
|  | @ -512,7 +512,7 @@ class TupleSpaceProxyTest < Test::Unit::TestCase | |||
| 
 | ||||
|     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]) | ||||
|  | @ -531,7 +531,7 @@ class TupleSpaceProxyTest < Test::Unit::TestCase | |||
|     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 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 seki
						seki