MCPcopy Create free account
hub / github.com/apache/impala / __init__

Method __init__

tests/shell/test_shell_interactive.py:136–142  ·  view source on GitHub ↗
(self, clazz)

Source from the content-addressed store, hash-verified

134
135class HTTPServer503(object):
136 def __init__(self, clazz):
137 self.HOST = "localhost"
138 self.PORT = get_unused_port()
139 self.httpd = socketserver.TCPServer((self.HOST, self.PORT), clazz)
140
141 self.http_server_thread = threading.Thread(target=self.httpd.serve_forever)
142 self.http_server_thread.start()
143
144
145def shutdown_server(server):

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls 3

get_unused_portFunction · 0.90
startMethod · 0.65
ThreadMethod · 0.45

Tested by

no test coverage detected