Skip to content

Commit 041ab1a

Browse files
author
Jonathan Woollett-Light
committed
test
1 parent 1c768d9 commit 041ab1a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/integration_tests/functional/test_logging.py

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
import datetime
1010
import os
11+
import time
1112

1213
import host_tools.logging as log_tools
1314

@@ -166,6 +167,10 @@ def test_api_requests_logs(test_microvm_with_api):
166167
show_level=True,
167168
show_log_origin=True,
168169
)
170+
171+
# While the API thread is setting up
172+
time.sleep(5)
173+
169174
# only works if log level is Debug
170175
microvm.time_api_requests = False
171176
assert microvm.api_session.is_status_no_content(response.status_code)

0 commit comments

Comments
 (0)