diff options
Diffstat (limited to 'src/python/src/grpc/_adapter/_links_test.py')
-rw-r--r-- | src/python/src/grpc/_adapter/_links_test.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/python/src/grpc/_adapter/_links_test.py b/src/python/src/grpc/_adapter/_links_test.py index ba7660bb92..6b3bcee9fa 100644 --- a/src/python/src/grpc/_adapter/_links_test.py +++ b/src/python/src/grpc/_adapter/_links_test.py @@ -70,7 +70,8 @@ class RoundTripTest(unittest.TestCase): self.fore_link_pool, {test_method: None}, {test_method: None}, None, ()) fore_link.join_rear_link(test_rear_link) test_rear_link.join_fore_link(fore_link) - port = fore_link.start() + fore_link.start() + port = fore_link.port() rear_link = rear.RearLink( 'localhost', port, self.rear_link_pool, {test_method: None}, @@ -123,7 +124,8 @@ class RoundTripTest(unittest.TestCase): {test_method: _IDENTITY}, None, ()) fore_link.join_rear_link(test_rear_link) test_rear_link.join_fore_link(fore_link) - port = fore_link.start() + fore_link.start() + port = fore_link.port() rear_link = rear.RearLink( 'localhost', port, self.rear_link_pool, {test_method: _IDENTITY}, @@ -185,7 +187,8 @@ class RoundTripTest(unittest.TestCase): {test_method: scenario.serialize_response}, None, ()) fore_link.join_rear_link(test_rear_link) test_rear_link.join_fore_link(fore_link) - port = fore_link.start() + fore_link.start() + port = fore_link.port() rear_link = rear.RearLink( 'localhost', port, self.rear_link_pool, |