Skip to content

Commit

Permalink
Fixing Failing SDK HTTP Retries Unit Tests (#177)
Browse files Browse the repository at this point in the history
* mark two tests as flaky

* Automatically reformatting code

* addressing pr feedback

* Automatically reformatting code

* update lock file

* remove the flaky decorator

* revert back to main's cicd logic

---------

Co-authored-by: Auto-format Bot <[email protected]>
  • Loading branch information
blaise-muhirwa and Auto-format Bot authored Feb 28, 2024
1 parent dfd0a17 commit 687fc6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/test_http_retries.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_create_detector_attempts_retries(gl: Groundlight):

def test_get_or_create_detector_attempts_retries(gl: Groundlight):
run_test(
mocked_call="urllib3.PoolManager.request",
mocked_call="requests.request",
api_method=gl.get_or_create_detector,
expected_call_counts=TOTAL_RETRIES + 1,
name=DETECTOR_NAME,
Expand Down

0 comments on commit 687fc6f

Please sign in to comment.