Skip to content

Commit

Permalink
Add timeout for httpTestBase (#3318)
Browse files Browse the repository at this point in the history
  • Loading branch information
shalevr committed Jun 27, 2023
1 parent ad2de35 commit 251b74a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class HttpTestBase(unittest.TestCase):

class Handler(BaseHTTPRequestHandler):
protocol_version = "HTTP/1.1" # Support keep-alive.
# timeout = 3 # No timeout -- if shutdown hangs, make sure to close your connection
timeout = 3 # Seconds

STATUS_RE = re.compile(r"/status/(\d+)")

Expand Down

0 comments on commit 251b74a

Please sign in to comment.