mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 08:55:15 +00:00
Fix test server startup detection.
Startup of the test server is detected by a scan on the server logging output to stdout. Startup is now detected on the late log output. Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
This commit is contained in:
parent
be0ab5e297
commit
6cf1215ba1
@ -31,13 +31,13 @@ def server(xprocess):
|
||||
args = [sys.executable, "-m", "akkudoktoreosserver.flask_server"]
|
||||
|
||||
# startup pattern
|
||||
pattern = "Serving Flask app 'flask_server'"
|
||||
pattern = "Debugger PIN:"
|
||||
# search the first 12 lines for the startup pattern, if not found
|
||||
# a RuntimeError will be raised informing the user
|
||||
max_read_lines = 12
|
||||
|
||||
# will wait for 10 seconds before timing out
|
||||
timeout = 10
|
||||
timeout = 30
|
||||
|
||||
# xprocess will now attempt to clean up upon interruptions
|
||||
terminate_on_interrupt = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user