Skip to content

Commit 593fe3c

Browse files
committed
Review feedback
Signed-off-by: Otto van der Schaaf <[email protected]>
1 parent a63396b commit 593fe3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/integration/nighthawk_grpc_service.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class NighthawkGrpcService(object):
2020
Attributes:
2121
server_ip: IP address used by the gRPC service to listen.
2222
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().
2324
"""
2425

2526
def __init__(self,
@@ -89,9 +90,9 @@ def start(self):
8990
can be queried to get the listening port.
9091
"""
9192

93+
self.log_lines = None
9294
self._server_thread.daemon = True
9395
self._server_thread.start()
94-
self.log_lines = None
9596
return self._waitUntilServerListening()
9697

9798
def stop(self):

0 commit comments

Comments
 (0)