Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Woollett-Light committed Aug 13, 2023
1 parent 1c768d9 commit 041ab1a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/integration_tests/functional/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import datetime
import os
import time

import host_tools.logging as log_tools

Expand Down Expand Up @@ -166,6 +167,10 @@ def test_api_requests_logs(test_microvm_with_api):
show_level=True,
show_log_origin=True,
)

# While the API thread is setting up
time.sleep(5)

# only works if log level is Debug
microvm.time_api_requests = False
assert microvm.api_session.is_status_no_content(response.status_code)
Expand Down

0 comments on commit 041ab1a

Please sign in to comment.