Skip to content

Commit

Permalink
try reduce test flakyness
Browse files Browse the repository at this point in the history
  • Loading branch information
denniswittich committed Nov 8, 2024
1 parent 85efddd commit 650df82
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async def test_sio_upload(test_detector_node: DetectorNode, sio_client):

# NOTE: This test seems to be flaky.
async def test_about_endpoint(test_detector_node: DetectorNode):
await asyncio.sleep(11)
await asyncio.sleep(16)
response = requests.get(f'http://localhost:{GLOBALS.detector_port}/about', timeout=30)

assert response.status_code == 200, response.content
Expand All @@ -108,7 +108,7 @@ async def test_about_endpoint(test_detector_node: DetectorNode):


async def test_model_version_api(test_detector_node: DetectorNode):
await asyncio.sleep(11)
await asyncio.sleep(16)

response = requests.get(f'http://localhost:{GLOBALS.detector_port}/model_version', timeout=30)
assert response.status_code == 200, response.content
Expand Down

0 comments on commit 650df82

Please sign in to comment.