From 2023dbc46d8296ac5e876a17d41675e67ac54c55 Mon Sep 17 00:00:00 2001 From: Abraham Egnor Date: Wed, 6 Nov 2024 12:48:47 -0500 Subject: [PATCH] rename --- .../{happy-eyeballs-client.py => client.py} | 6 +++--- .../{happy-eyeballs-server.py => server.py} | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) rename .evergreen/happy_eyeballs/{happy-eyeballs-client.py => client.py} (90%) rename .evergreen/happy_eyeballs/{happy-eyeballs-server.py => server.py} (97%) diff --git a/.evergreen/happy_eyeballs/happy-eyeballs-client.py b/.evergreen/happy_eyeballs/client.py similarity index 90% rename from .evergreen/happy_eyeballs/happy-eyeballs-client.py rename to .evergreen/happy_eyeballs/client.py index 74bd8497..09bdb400 100644 --- a/.evergreen/happy_eyeballs/happy-eyeballs-client.py +++ b/.evergreen/happy_eyeballs/client.py @@ -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. @@ -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') diff --git a/.evergreen/happy_eyeballs/happy-eyeballs-server.py b/.evergreen/happy_eyeballs/server.py similarity index 97% rename from .evergreen/happy_eyeballs/happy-eyeballs-server.py rename to .evergreen/happy_eyeballs/server.py index 6a5bb353..9b31272f 100644 --- a/.evergreen/happy_eyeballs/happy-eyeballs-server.py +++ b/.evergreen/happy_eyeballs/server.py @@ -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. @@ -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'