From 687fc6fa0f344dabe2a78bea9149745fbb2f573c Mon Sep 17 00:00:00 2001 From: blaise-muhirwa <135643310+blaise-muhirwa@users.noreply.github.com> Date: Tue, 27 Feb 2024 16:20:42 -0800 Subject: [PATCH] Fixing Failing SDK HTTP Retries Unit Tests (#177) * 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 --- test/unit/test_http_retries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/test_http_retries.py b/test/unit/test_http_retries.py index aa7876c7..ffc8d77c 100644 --- a/test/unit/test_http_retries.py +++ b/test/unit/test_http_retries.py @@ -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,