Skip to content

Commit

Permalink
Merge pull request grpc#7893 from thunderboltsid/remove_shutdown_lega…
Browse files Browse the repository at this point in the history
…cy_server

Remove erroneously redefined function from run_tests.py.
  • Loading branch information
nathanielmanistaatgoogle authored Sep 20, 2016
2 parents fc92a0c + bd26849 commit 3c9d086
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tools/run_tests/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1198,18 +1198,6 @@ def _shut_down_legacy_server(legacy_server_port):
'http://localhost:%d/quitquitquit' % legacy_server_port).read()


def _shut_down_legacy_server(legacy_server_port):
try:
version = int(urllib2.urlopen(
'http://localhost:%d/version_number' % legacy_server_port,
timeout=10).read())
except:
pass
else:
urllib2.urlopen(
'http://localhost:%d/quitquitquit' % legacy_server_port).read()


def _start_port_server(port_server_port):
# check if a compatible port server is running
# if incompatible (version mismatch) ==> start a new one
Expand Down

0 comments on commit 3c9d086

Please sign in to comment.