From 5d85675b56477b201fe0ef30e04e52a67e46f66c Mon Sep 17 00:00:00 2001 From: Arkadiusz Bokowy Date: Fri, 13 Mar 2015 13:47:00 +0100 Subject: [PATCH] Fix port selection for server Commit 31e65be introduces a bug which causes starting server on a randomly selected port. --- src/python/src/grpc/early_adopter/implementations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/python/src/grpc/early_adopter/implementations.py b/src/python/src/grpc/early_adopter/implementations.py index 1c02f9e4d63..6fe90594a74 100644 --- a/src/python/src/grpc/early_adopter/implementations.py +++ b/src/python/src/grpc/early_adopter/implementations.py @@ -71,7 +71,8 @@ class _Server(interfaces.Server): _ONE_DAY_IN_SECONDS) self._fore_link = _fore.ForeLink( self._pool, self._breakdown.request_deserializers, - self._breakdown.response_serializers, None, self._key_chain_pairs) + self._breakdown.response_serializers, None, self._key_chain_pairs, + port=self._port) self._back.join_fore_link(self._fore_link) self._fore_link.join_rear_link(self._back) self._fore_link.start()