avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject [1/2] avro git commit: AVRO-1951: Python: Fix ipc_test.py with a valid DNS name.
Date Sat, 05 Nov 2016 22:03:28 GMT
Repository: avro
Updated Branches:
  refs/heads/master 23de4d013 -> 7a398e0f3


AVRO-1951: Python: Fix ipc_test.py with a valid DNS name.


Project: http://git-wip-us.apache.org/repos/asf/avro/repo
Commit: http://git-wip-us.apache.org/repos/asf/avro/commit/7a398e0f
Tree: http://git-wip-us.apache.org/repos/asf/avro/tree/7a398e0f
Diff: http://git-wip-us.apache.org/repos/asf/avro/diff/7a398e0f

Branch: refs/heads/master
Commit: 7a398e0f373fcbe4e9fe5e068c3e720530f0a849
Parents: 454db15
Author: Ryan Blue <blue@apache.org>
Authored: Sat Nov 5 15:01:52 2016 -0700
Committer: Ryan Blue <blue@apache.org>
Committed: Sat Nov 5 15:03:02 2016 -0700

----------------------------------------------------------------------
 CHANGES.txt              | 2 ++
 lang/py/test/test_ipc.py | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/avro/blob/7a398e0f/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 8affdc8..3553e2a 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -102,6 +102,8 @@ Trunk (not yet released)
 
     AVRO-1626: C#: Fix Avro.pref build error. (Naruto Takahashi via blue)
 
+    AVRO-1951: Python: Fix ipc_test.py with a valid DNS name. (blue)
+
 Avro 1.8.1 (14 May 2016)
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/avro/blob/7a398e0f/lang/py/test/test_ipc.py
----------------------------------------------------------------------
diff --git a/lang/py/test/test_ipc.py b/lang/py/test/test_ipc.py
index 7fffe49..8d29c44 100644
--- a/lang/py/test/test_ipc.py
+++ b/lang/py/test/test_ipc.py
@@ -30,10 +30,10 @@ class TestIPC(unittest.TestCase):
     pass
 
   def test_server_with_path(self):
-    client_with_custom_path = ipc.HTTPTransceiver('dummyserver.net', 80, '/service/article')
+    client_with_custom_path = ipc.HTTPTransceiver('apache.org', 80, '/service/article')
     self.assertEqual('/service/article', client_with_custom_path.req_resource)
 
-    client_with_default_path = ipc.HTTPTransceiver('dummyserver.net', 80)
+    client_with_default_path = ipc.HTTPTransceiver('apache.org', 80)
     self.assertEqual('/', client_with_default_path.req_resource)
 
 if __name__ == '__main__':


Mime
View raw message