_____________________ test_discover_timeout[/api/v2_0_0] ______________________
celery_discover_timeout_client = (<starlette.testclient.TestClient object at 0x000001F15B317A30>, <ewoksserver.tests.socketio_test.SocketIOTestClient object at 0x000001F15B317FD0>)
api_root = '/api/v2_0_0'
def test_discover_timeout(celery_discover_timeout_client, api_root):
rest_client, _ = celery_discover_timeout_client
with pytest.raises(TimeoutError):
> rest_client.post(f"{api_root}/tasks/discover")
E Failed: DID NOT RAISE <class 'celery.exceptions.TimeoutError'>
..\build_venv\lib\site-packages\ewoksserver\tests\test_discover.py:90: Failed
In GitLab by @woutdenolf on Jan 7, 2025, 11:32 GMT+1:
Despite https://gitlab.esrf.fr/workflow/ewoks/ewoksserver/-/merge_requests/134 this test still fails sometimes: https://gitlab.esrf.fr/workflow/ewoks/ewoksserver/-/jobs/1422381
Migrated from GitLab: https://gitlab.esrf.fr/workflow/ewoks/ewoksserver/-/issues/64