We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a63396b commit 593fe3cCopy full SHA for 593fe3c
test/integration/nighthawk_grpc_service.py
@@ -20,6 +20,7 @@ class NighthawkGrpcService(object):
20
Attributes:
21
server_ip: IP address used by the gRPC service to listen.
22
server_port: An integer, indicates the port used by the gRPC service to listen. 0 means that the server is not listening.
23
+ log_lines: An array of log lines emitted by the service. Available after stop() is called, reset to None on start().
24
"""
25
26
def __init__(self,
@@ -89,9 +90,9 @@ def start(self):
89
90
can be queried to get the listening port.
91
92
93
+ self.log_lines = None
94
self._server_thread.daemon = True
95
self._server_thread.start()
- self.log_lines = None
96
return self._waitUntilServerListening()
97
98
def stop(self):
0 commit comments