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

ruby-changes:39019

From: nobu <ko1@a...>
Date: Thu, 2 Jul 2015 12:26:37 +0900 (JST)
Subject: [ruby-changes:39019] nobu:r51100 (trunk): test_gem_server.rb: Don't specify port number

nobu	2015-07-02 12:26:14 +0900 (Thu, 02 Jul 2015)

  New Revision: 51100

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

  Log:
    test_gem_server.rb: Don't specify port number
    
    * test/rubygems/test_gem_server.rb (process_based_port): use
      dynamically chosen port numberss to get rid of conflicts.

  Modified files:
    trunk/ChangeLog
    trunk/test/rubygems/test_gem_server.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 51099)
+++ ChangeLog	(revision 51100)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jul  2 12:26:11 2015  Nobuyoshi Nakada  <nobu@r...>
+
+	* test/rubygems/test_gem_server.rb (process_based_port): use
+	  dynamically chosen port numberss to get rid of conflicts.
+
 Thu Jul  2 11:58:59 2015  NAKAMURA Usaku  <usa@r...>
 
 	* test/rubygems/test_gem_specification.rb: skip tests which the
Index: test/rubygems/test_gem_server.rb
===================================================================
--- test/rubygems/test_gem_server.rb	(revision 51099)
+++ test/rubygems/test_gem_server.rb	(revision 51100)
@@ -7,6 +7,10 @@ class Gem::Server https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_server.rb#L7
 end
 
 class TestGemServer < Gem::TestCase
+  def process_based_port
+    0
+  end
+
   def setup
     super
 

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

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