Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
abr-egn committed Nov 6, 2024
1 parent 629142c commit 2023dbc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### A test client for happy-eyeballs-server.py
### A test client for server.py
#
# This can be used to check that happy-eyeballs-server.py is functioning properly. When run, it
# This can be used to check that server.py is functioning properly. When run, it
# will connect to the control port on that server, request a pair of ports, open a connection to
# both ports in parallel, and assert that the byte read is the expected one for that port.

Expand All @@ -9,7 +9,7 @@
import socket

parser = argparse.ArgumentParser(
prog='happy-eyeballs-client',
prog='client',
description='client for testing the happy eyeballs test server',
)
parser.add_argument('-c', '--control', default=10036, type=int, metavar='PORT', help='control port')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#
### Usage:
#
# python3 happy-eyeballs-server.py [-c|--control PORT] [--wait] [--stop]
# python3 server.py [-c|--control PORT] [--wait] [--stop]
#
# Running with no arguments, or with just `-c PORT`, will start the server in the foreground. PORT
# defaults to 10036 if not specified.
Expand Down Expand Up @@ -41,12 +41,12 @@
import sys

parser = argparse.ArgumentParser(
prog='happy-eyeballs-server',
description='Fake server for testing happy eyeballs',
prog='server',
description='Test server for happy eyeballs',
)
parser.add_argument('-c', '--control', default=10036, type=int, metavar='PORT', help='control port')
parser.add_argument('--wait', action='store_true', help='wait for a server to be ready')
parser.add_argument('--stop', action='store_true', help='stop a currently-running server')
parser.add_argument('--wait', action='store_true', help='wait for a running server to be ready')
parser.add_argument('--stop', action='store_true', help='stop a running server')
args = parser.parse_args()

PREFIX='happy eyeballs server'
Expand Down

0 comments on commit 2023dbc

Please sign in to comment.