Skip to content

Commit ef095f8

Browse files
itai1357ipeleg
authored andcommitted
adding request_wrapper for overcoming ConnectionErrors (bridgecrewio#2907)
* adding request_wrapper for avoiding error of 'Connection aborted.', ConnectionResetError(104, 'Connection reset by peer') * adding the prefix "CHECKOV_" to the env-vars and casting them to the required number values * adding comment to the new change * adding while loop and make the request_max_tries request_sleep_between_tries defined when creating instance (for better controlling them during UTs) * adding UTs * fix PRs comments * fix lint * add request_wrapper in twistcli + UTs * create global request_wrapper in http_utils.py + passing the UTs * adding test for post result * adding test for post result * own review * fix small incorresponding * fix lint * invoke tests again * adding the flag should_call_raise_for_status for not breaking the existing behavior Co-authored-by: ipeleg <[email protected]>
1 parent 61ced13 commit ef095f8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
checkov==2.0.1110
1+
checkov==2.0.1111

checkov/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = '2.0.1110'
1+
version = '2.0.1111'

kubernetes/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
checkov==2.0.1110
1+
checkov==2.0.1111

0 commit comments

Comments
 (0)