[Jython-checkins] jython (2.5): enable tests to be run from Jenkins on Fedora by changing port numbers

oti.humbel jython-checkins at python.org
Wed Nov 23 07:29:28 CET 2011


http://hg.python.org/jython/rev/8af641b6973e
changeset:   6280:8af641b6973e
branch:      2.5
parent:      6278:ca6b9103ea54
user:        Oti Humbel <ohumbel at gmail.com>
date:        Wed Nov 23 07:28:40 2011 +0100
summary:
  enable tests to be run from Jenkins on Fedora by changing port numbers

files:
  Lib/test/test_socket.py           |  2 +-
  Lib/test/test_urllib2_localnet.py |  2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -20,7 +20,7 @@
 from weakref import proxy
 from StringIO import StringIO
 
-PORT = 50007
+PORT = 50100
 HOST = 'localhost'
 MSG = 'Michael Gilfix was here\n'
 EIGHT_BIT_MSG = 'Bh\xed Al\xe1in \xd3 Cinn\xe9ide anseo\n'
diff --git a/Lib/test/test_urllib2_localnet.py b/Lib/test/test_urllib2_localnet.py
--- a/Lib/test/test_urllib2_localnet.py
+++ b/Lib/test/test_urllib2_localnet.py
@@ -226,7 +226,7 @@
 class ProxyAuthTests(unittest.TestCase):
     URL = "http://www.foo.com"
 
-    PORT = 8080
+    PORT = 58080
     USER = "tester"
     PASSWD = "test123"
     REALM = "TestRealm"

-- 
Repository URL: http://hg.python.org/jython


More information about the Jython-checkins mailing list