Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Debug timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
xlz-jbleclere committed Nov 2, 2020
1 parent b1cce2e commit 5f6fe9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ws_timeout.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def test_request_timeout(accelize_drm, conf_json, cred_json, async_handler,
end = datetime.now()
del drm_manager
assert request_timeout - 1 <= int((end - start).total_seconds()) <= request_timeout
assert search(r'\[errCode=\d+\]\s*Failed to perform HTTP request to Accelize webservice \(Timeout was reached\) : Operation timed out after [%d%d]\d+ milliseconds' % (connection_timeout-1,connection_timeout),
assert search(r'\[errCode=\d+\]\s*Failed to perform HTTP request to Accelize webservice \(Timeout was reached\) : Operation timed out after [%d%d]\d+ milliseconds' % (request_timeout-1,request_timeout),
str(excinfo.value), IGNORECASE)
async_cb.assert_NoError()

0 comments on commit 5f6fe9d

Please sign in to comment.